ninja-put-patch-file-upload-middleware


Nameninja-put-patch-file-upload-middleware JSON
Version 0.1.3 PyPI version JSON
download
home_pagehttps://github.com/baseplate-admin/ninja_put_patch_file_upload_middleware
SummaryA middleware that allows user to upload files using PUT / Patch
upload_time2024-11-11 12:21:18
maintainerNone
docs_urlNone
authorbaseplate-admin
requires_python>=3.9
licenseMIT
keywords ninja django-ninja middlewares put patch file upload
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            [![Downloads](https://static.pepy.tech/personalized-badge/ninja-put-patch-file-upload-middleware?period=month&units=international_system&left_color=black&right_color=orange&left_text=Downloads)](https://pepy.tech/project/ninja-put-patch-file-upload-middleware)

# ninja_put_patch_file_upload_middleware
This middleware allows users to upload files using the HTTP PUT or PATCH method. Backports the functionality from [django-ninja#719](https://github.com/vitalik/django-ninja/pull/719) which in turn is based on  [django-ninja#417 (comment)](https://github.com/vitalik/django-ninja/issues/417#issuecomment-1092545699) which should be available in `django-ninja` if [django-ninja#397](https://github.com/vitalik/django-ninja/pull/397) is merged ( in that case this middleware works as a backport )

## Requirements

* Django 3.2+ 
* Asgiref 3.6.0+
* Python 3.9+

## Installation

1. Install the package using pip :
```bash
pip install ninja_put_patch_file_upload_middleware
```
2. Add the middleware to your middleware stack:

```python
# settings.py

MIDDLEWARE = [
    ...
    "ninja_put_patch_file_upload_middleware.middlewares.process_put_patch",
]
```


## LICENSE

This package is licensed under the MIT License ( same as `django-ninja` ). See the [LICENSE](https://github.com/baseplate-admin/ninja_put_patch_file_upload_middleware/blob/master/LICENSE) file for more information.


## Feature Complete

I am not willing to add any more functionality to this module. This should work as is. Unless there are changes in `django`/`asgiref` side. Please dont ask for changes >_<


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/baseplate-admin/ninja_put_patch_file_upload_middleware",
    "name": "ninja-put-patch-file-upload-middleware",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": "ninja, django-ninja, middlewares, put, patch, file upload",
    "author": "baseplate-admin",
    "author_email": "61817579+baseplate-admin@users.noreply.github.com",
    "download_url": "https://files.pythonhosted.org/packages/c4/86/eb31eb5c4c06a1acfb32d7e4cc02c3db86098b68fb0d81617081f2d67fcb/ninja_put_patch_file_upload_middleware-0.1.3.tar.gz",
    "platform": null,
    "description": "[![Downloads](https://static.pepy.tech/personalized-badge/ninja-put-patch-file-upload-middleware?period=month&units=international_system&left_color=black&right_color=orange&left_text=Downloads)](https://pepy.tech/project/ninja-put-patch-file-upload-middleware)\n\n# ninja_put_patch_file_upload_middleware\nThis middleware allows users to upload files using the HTTP PUT or PATCH method. Backports the functionality from [django-ninja#719](https://github.com/vitalik/django-ninja/pull/719) which in turn is based on  [django-ninja#417 (comment)](https://github.com/vitalik/django-ninja/issues/417#issuecomment-1092545699) which should be available in `django-ninja` if [django-ninja#397](https://github.com/vitalik/django-ninja/pull/397) is merged ( in that case this middleware works as a backport )\n\n## Requirements\n\n* Django 3.2+ \n* Asgiref 3.6.0+\n* Python 3.9+\n\n## Installation\n\n1. Install the package using pip :\n```bash\npip install ninja_put_patch_file_upload_middleware\n```\n2. Add the middleware to your middleware stack:\n\n```python\n# settings.py\n\nMIDDLEWARE = [\n    ...\n    \"ninja_put_patch_file_upload_middleware.middlewares.process_put_patch\",\n]\n```\n\n\n## LICENSE\n\nThis package is licensed under the MIT License ( same as `django-ninja` ). See the [LICENSE](https://github.com/baseplate-admin/ninja_put_patch_file_upload_middleware/blob/master/LICENSE) file for more information.\n\n\n## Feature Complete\n\nI am not willing to add any more functionality to this module. This should work as is. Unless there are changes in `django`/`asgiref` side. Please dont ask for changes >_<\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A middleware that allows user to upload files using PUT / Patch",
    "version": "0.1.3",
    "project_urls": {
        "Homepage": "https://github.com/baseplate-admin/ninja_put_patch_file_upload_middleware",
        "Repository": "https://github.com/baseplate-admin/ninja_put_patch_file_upload_middleware"
    },
    "split_keywords": [
        "ninja",
        " django-ninja",
        " middlewares",
        " put",
        " patch",
        " file upload"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2b30e8c4b9e2149d074e4dada68e58b6fa5097c03fba4dc523a81cb324e3a028",
                "md5": "070cb2ccb0240908073e654128612891",
                "sha256": "bcb3acaf62dc3ccfa50c9e4d16ccbd894dbc33fa07c0e4b3c12b17d88634a432"
            },
            "downloads": -1,
            "filename": "ninja_put_patch_file_upload_middleware-0.1.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "070cb2ccb0240908073e654128612891",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 3630,
            "upload_time": "2024-11-11T12:21:16",
            "upload_time_iso_8601": "2024-11-11T12:21:16.654964Z",
            "url": "https://files.pythonhosted.org/packages/2b/30/e8c4b9e2149d074e4dada68e58b6fa5097c03fba4dc523a81cb324e3a028/ninja_put_patch_file_upload_middleware-0.1.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c486eb31eb5c4c06a1acfb32d7e4cc02c3db86098b68fb0d81617081f2d67fcb",
                "md5": "3b0ab654b0c55b1c7ecb2cfea6960ce2",
                "sha256": "dfe75399564f849651faa33eb50c068ad19e684eab5b10bebb66d7c7ce67f365"
            },
            "downloads": -1,
            "filename": "ninja_put_patch_file_upload_middleware-0.1.3.tar.gz",
            "has_sig": false,
            "md5_digest": "3b0ab654b0c55b1c7ecb2cfea6960ce2",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 2975,
            "upload_time": "2024-11-11T12:21:18",
            "upload_time_iso_8601": "2024-11-11T12:21:18.041101Z",
            "url": "https://files.pythonhosted.org/packages/c4/86/eb31eb5c4c06a1acfb32d7e4cc02c3db86098b68fb0d81617081f2d67fcb/ninja_put_patch_file_upload_middleware-0.1.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-11 12:21:18",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "baseplate-admin",
    "github_project": "ninja_put_patch_file_upload_middleware",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "ninja-put-patch-file-upload-middleware"
}
        
Elapsed time: 0.41906s