ninja-put-patch-file-upload-middleware


Nameninja-put-patch-file-upload-middleware JSON
Version 0.1.1 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_time2023-04-01 16:40:49
maintainer
docs_urlNone
authorbaseplate-admin
requires_python>=3.7,<4.0
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.
            # 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)

## Requirements

* Django 3.2+ 
* Asgiref 3.6.0+
* Python 3.7+

## 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 open 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": "",
    "docs_url": null,
    "requires_python": ">=3.7,<4.0",
    "maintainer_email": "",
    "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/e2/c1/4f84987621786dbe27b0294cc7d1a40349e9686cef306fa92f3896e49fec/ninja_put_patch_file_upload_middleware-0.1.1.tar.gz",
    "platform": null,
    "description": "# 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)\n\n## Requirements\n\n* Django 3.2+ \n* Asgiref 3.6.0+\n* Python 3.7+\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 open ask for changes >_<\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A middleware that allows user to upload files using PUT / Patch",
    "version": "0.1.1",
    "split_keywords": [
        "ninja",
        "django-ninja",
        "middlewares",
        "put",
        "patch",
        "file upload"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1c68e10e7eec15ea88724383a9235d53e933bada9935f7f87f44f3c7d86816a2",
                "md5": "ddff26e46eb16dd046e86b273d44aa60",
                "sha256": "79ea839354b99ca0272bd7b8f7ac0fe5019f9abb725becc203114313ee8c1232"
            },
            "downloads": -1,
            "filename": "ninja_put_patch_file_upload_middleware-0.1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "ddff26e46eb16dd046e86b273d44aa60",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7,<4.0",
            "size": 3383,
            "upload_time": "2023-04-01T16:40:48",
            "upload_time_iso_8601": "2023-04-01T16:40:48.095395Z",
            "url": "https://files.pythonhosted.org/packages/1c/68/e10e7eec15ea88724383a9235d53e933bada9935f7f87f44f3c7d86816a2/ninja_put_patch_file_upload_middleware-0.1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e2c14f84987621786dbe27b0294cc7d1a40349e9686cef306fa92f3896e49fec",
                "md5": "24cce136dcb047fd8261930c2243d5a3",
                "sha256": "827de70d5ccb2e5bc1ef4bae791488caf13fc64ded902fb95a18a3d639730f49"
            },
            "downloads": -1,
            "filename": "ninja_put_patch_file_upload_middleware-0.1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "24cce136dcb047fd8261930c2243d5a3",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7,<4.0",
            "size": 2652,
            "upload_time": "2023-04-01T16:40:49",
            "upload_time_iso_8601": "2023-04-01T16:40:49.524530Z",
            "url": "https://files.pythonhosted.org/packages/e2/c1/4f84987621786dbe27b0294cc7d1a40349e9686cef306fa92f3896e49fec/ninja_put_patch_file_upload_middleware-0.1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-04-01 16:40:49",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "baseplate-admin",
    "github_project": "ninja_put_patch_file_upload_middleware",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "ninja-put-patch-file-upload-middleware"
}
        
Elapsed time: 0.05166s