Skip to main content

drf-tus

https://badge.fury.io/py/drf-tus.svg https://travis-ci.org/dirkmoors/drf-tus.svg?branch=master https://codecov.io/gh/dirkmoors/drf-tus/branch/master/graph/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 (or MIDDLEWARE_CLASSES for Django < 1.10)

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

Add drf-tus’s URL patterns:

urlpatterns = [
    ...
    url(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:

History

1.1 (2017-08-28) 1.2 (2018-01-04) +++++++++++++++++

  • Forked from drf-tus

  • Support for Django 1.11

  • Bugfix for incomplete uploaded chunks

Metadata

Release files for sewan-drf-tus 1.2

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

Source distribution (sdist)

Source distribution for sewan-drf-tus 1.2
File Size Uploaded
sewan-drf-tus-1.2.tar.gz 14.9 kB Details

Release files / sewan-drf-tus-1.2.tar.gz

Download URL sewan-drf-tus-1.2.tar.gz
Size 14.9 kB
Tags Source
SHA-256 checksum
How to use checksums
4fc7d9779fe89c656ede50ee5f7590276dc253955e1575fec046c871fb9bc6e6
BLAKE2b-256 checksum
How to use checksums
c232d07f4761349d80c2c52bb28e9a284ccf4056ddab2cdc7223fc2504aad542
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.2 This release

1 release file

1.1

1 release file

1.0

1 release file

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