Skip to main content

Downloads

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 which in turn is based on django-ninja#417 (comment) which should be available in django-ninja if django-ninja#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 :
pip install ninja_put_patch_file_upload_middleware
  1. Add the middleware to your middleware stack:
# 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 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 >_<

Metadata

Release files for ninja-put-patch-file-upload-middleware 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ninja-put-patch-file-upload-middleware 0.1.4
File Size Uploaded Provenance Actions
ninja_put_patch_file_upload_middleware-0.1.4.tar.gz 3.4 kB With provenance Details for ninja_put_patch_file_upload_middleware-0.1.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ninja-put-patch-file-upload-middleware 0.1.4
File Interpreter ABI Platform Actions
ninja_put_patch_file_upload_middleware-0.1.4-py3-none-any.whl Python 3 none any Details for ninja_put_patch_file_upload_middleware-0.1.4-py3-none-any.whl

Total release size: 7.3 kB

Release files / ninja_put_patch_file_upload_middleware-0.1.4.tar.gz

Download URL ninja_put_patch_file_upload_middleware-0.1.4.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
7a11642080f351efffe2b9a875114f8ba8a66cc8ef779389617875f619c7e8b8
BLAKE2b-256 checksum
How to use checksums
12e57ae9a9f99e50432007e70215bb597582974f2eacf25c1ebdaa39e4ce341b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.0.1 CPython/3.12.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 10, 2024.

Transparency log

Release files / ninja_put_patch_file_upload_middleware-0.1.4-py3-none-any.whl

Download URL ninja_put_patch_file_upload_middleware-0.1.4-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
42d86a39b93c1373acdd1461337f06db7767189de00a7b97a74345c86084fd93
BLAKE2b-256 checksum
How to use checksums
100289448ae4e039f3bb72cb8cd7d230d4f35ccf81428091473a7fc6e808c157
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.0.1 CPython/3.12.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 10, 2024.

Transparency log

Security for ninja-put-patch-file-upload-middleware 0.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for ninja_put_patch_file_upload_middleware-0.1.4.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 10, 2024.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page