File streaming

Helpers to serve files managed with Django using various optimizations (x-sendfile, x-accel, ...)

Features currently being evaluated

Feature Description
Files in storage Serve files managed in Django storages (local or remote).
Files in local filesystem Serve files located on local filesystem, given an absolute or relative path.
Generated files (yield) Serve files which are dynamically generated via a generator (yield statement)
Lighttpd's X-Sendfile Delegate actual streaming to Lighttp via X-Sendfile.
Nginx's X-Accel-Redirect Delegate actual streaming to Nginx via X-Accel-Redirect.
Apache's X-Sendfile Delegate actual streaming to Apache via X-Sendfile.
Files at URL Proxy remote files, given an arbitrary URL.
Text-based files (bytes, unicode, StringIO) Serve files which whole content is dynamically created in memory.
Files in models (FileField) Serve files in models (FileField, ImageField), given a model instance and a
field name.
mod_wsgi's internal redirect Set Location with 200 code to trigger internal redirect (daemon mode mod_wsgi
only)
Multiple "rewrite rules" Several rules can be configured to capture files from several locations then
optimize their streaming.s

Filter results

Package Django django-private-storage django-downloadview django-transfer django-unique-upload django-private-files django-filetransfers django-protected-files
Package Django django-private-storage django-downloadview django-transfer django-unique-upload django-private-files django-filetransfers django-protected-files
Description The Web framework for
perfectionists with deadlines.
Private media file storage for
Django projects
Serve files with Django. A django application that
provides file download
methods.
A django utility that creates
unique file names for uploaded
files via uui...
A pluggable django application
that enables control over
static file downloads. The
full docs are here:
http://readthedocs.org/dashboard/django-private-files/
. Official GitHu...
Helper for writing reusable
Django apps that handle
uploads and downloads
A Django application that lets
you serve protected static
files via your frontend server
after authorizing the user
against django.contrib.auth.
Category Framework Other App App Other App App App
# Using This 435 2 4 0 1 1 2 1
Python 3?
Development Status Production/Stable Production/Stable Production/Stable Beta Pre-Alpha Beta n/a n/a
Last updated Jan. 13, 2022, 2:46 p.m. May 17, 2021, 6:04 a.m. Jan. 11, 2022, 4:41 a.m. April 13, 2020, 9:21 p.m. Feb. 10, 2016, 4:46 p.m. June 10, 2011, 1:17 p.m. July 5, 2016, 2:30 p.m. June 1, 2009, 6:44 p.m.
Version 4.0.1 2.3.0 2.1.1 0.4 0.2.1 1.0.1 n/a n/a
Repo GitHub GitHub GitHub GitHub GitHub Bitbucket Bitbucket GitHub
Commits
Stars 61743 278 284 56 16 17 64 33
Repo Forks 26347 48 48 15 1 3 13 n/a
Participants timgraham
adrianholovaty
malcolmt
freakboy3742
claudep
aaugustin
felixxm
jezdez
jacobian
charettes
more...
vdboor
pjstevns
axnsan12
wiegandm
dr-mark
vmspike
asfaltboy
nimdanor
OrsoBruno96
fiksani
more...
benoitbryon
Natim
johnthagen
joehybird
cjdreiss
tari
hramezani
jezdez
aleksihakli
quietlyconfident
more...
btimby
cabarnes
manuelnaranjo
meteozond
dannyroberts
agconti vvangelovski wkornewald ipmb
Documentation N/A N/A N/A
Files in storage
Files in local filesystem
Generated files (yield)
Lighttpd's X-Sendfile
Nginx's X-Accel-Redirect
Apache's X-Sendfile
Files at URL
Text-based files (bytes, unicode, StringIO)
Files in models (FileField)
mod_wsgi's internal redirect
Multiple "rewrite rules"
Search Weight Package Description Last PyPI release: Repo Forks Stars
{{ item.weight / max_weight * 100 | number:0 }}% {{ item.title }} Grid: {{ item.description }} {{ item.last_released | date: 'mediumDate' }} N/A {{ item.repo_forks }} N/A {{ item.repo_watchers }} N/A