Skip to main content

drf-tus

https://badge.fury.io/py/drf-tus.svg https://github.com/dirkmoors/drf-tus/actions/workflows/ci.yml/badge.svg

A Tus (tus.io) library for Django Rest Framework

Documentation

The full documentation is at https://drf-tus.readthedocs.io.

Quickstart

Install drf-tus:

pip install drf-tus

Add it to your INSTALLED_APPS:

INSTALLED_APPS = (
    ...
    "rest_framework_tus",
    ...
)

Add the middleware to MIDDLEWARE:

MIDDLEWARE = (
    ...
    "rest_framework_tus.middleware.TusMiddleware",
    ...
)

Add URL patterns for drf-tus:

urlpatterns = [
    ...
    path(r"^", include("rest_framework_tus.urls", namespace="rest_framework_tus")),
    ...
]

Features

This library implements the following TUS API v1.0.0 protocols:

Running Tests

Does the code actually work?

source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install tox
(myenv) $ tox

Credits

Tools used in rendering this package:

Metadata

Release files for drf-tus 2.0.3

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

Source distribution (sdist)

Source distribution for drf-tus 2.0.3
File Size Uploaded Provenance Actions
drf_tus-2.0.3.tar.gz 13.9 kB Without provenance Details for drf_tus-2.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for drf-tus 2.0.3
File Interpreter ABI Platform Actions
drf_tus-2.0.3-py3-none-any.whl Python 3 none any Details for drf_tus-2.0.3-py3-none-any.whl

Total release size: 34.0 kB

Release files / drf_tus-2.0.3.tar.gz

Download URL drf_tus-2.0.3.tar.gz
Size 13.9 kB
Tags Source
SHA-256 checksum
How to use checksums
56479237e7237c9ee3741603f36bfa58ecbd35eea959f6ffbbe52713d7aec265
BLAKE2b-256 checksum
How to use checksums
ebf5024f3c4672624b5c1e0da6c864a2cb13deb682d6d12ce74caa3f57dbfdbe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.17

Release files / drf_tus-2.0.3-py3-none-any.whl

Download URL drf_tus-2.0.3-py3-none-any.whl
Size 20.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9bc56e09a742418e914acd43327aca9ffe15e2100e2708f7a66af15bd034c27e
BLAKE2b-256 checksum
How to use checksums
65316c1cba2aab646e52a97e0638de43016eb2f4be64b78a1e3fcd2f23d0b482
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.17

Security for drf-tus 2.0.3

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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