File streaming

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

Features currently being evaluated

FeatureDescription
Generated files (yield) Serve files which are dynamically generated via a generator (yield statement)
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.
Files in models (FileField) Serve files in models (FileField, ImageField), given a model instance and a
field name.
Lighttpd's X-Sendfile Delegate actual streaming to Lighttp via X-Sendfile.
Apache's X-Sendfile Delegate actual streaming to Apache via X-Sendfile.
Files at URL Proxy remote files, given an arbitrary URL.
Nginx's X-Accel-Redirect Delegate actual streaming to Nginx via X-Accel-Redirect.
Text-based files (bytes, unicode, StringIO) Serve files which whole content is dynamically created in memory.
Multiple "rewrite rules" Several rules can be configured to capture files from several locations then
optimize their streaming.s
mod_wsgi's internal redirect Set Location with 200 code to trigger internal redirect (daemon mode mod_wsgi
only)
Package Django django-sendfile django-downloadview django-private-storage django-filetransfers django-transfer django-protected-files django-private-files django-unique-upload
Package Django django-sendfile django-downloadview django-private-storage django-filetransfers django-transfer django-protected-files django-private-files django-unique-upload
Description The Web framework for
perfectionists with deadlines.
xsendfile etc wrapper Serve files with Django. Private media file storage for
Django projects
Helper for writing reusable
Django apps that handle
uploads and downloads
A django application that
provides file download
methods.
A Django application that lets
you serve protected static
files via your frontend server
after authorizing the user
against django.contrib.auth.
A pluggable django application
that enables control over
static file downloads. The
full docs are here:
http://readthedocs.org/dashboard/django-private-files/
. Official GitHub ...
A django utility that creates
unique file names for uploaded
files via uui...
CategoryFrameworkAppAppOtherAppAppAppAppOther
# Using This41844220101
Python 3?
Development Status Production/Stable Beta Production/Stable Beta n/a Beta n/a Beta Pre-Alpha
Last updated April 2, 2020, 6:57 a.m. Jan. 12, 2017, 4:33 p.m. March 8, 2020, 3:12 p.m. Jan. 14, 2020, 8 a.m. July 5, 2016, 2:30 p.m. April 2, 2020, 1:22 a.m. June 1, 2009, 6:44 p.m. June 10, 2011, 1:17 p.m. Feb. 10, 2016, 4:46 p.m.
Version3.0.50.3.112.1.12.2.2n/a0.4n/a1.0.10.2.1
RepoGithubGithubGithubGithubBitbucketGithubGithubBitbucketGithub
Commits
Stars482374381861726453321712
Repo Forks208948838381312n/a31
Participantstimgraham
adrianholovaty
malcolmt
freakboy3742
claudep
aaugustin
jezdez
jacobian
spookylukey
alex
more...
johnsensible
jdufresne
davidfischer-ch
peterdewachter
davegaeddert
flyte
karyon
joshcartme
kaedroho
karolmajta
more...
benoitbryon
Natim
joehybird
cjdreiss
aleksihakli
quietlyconfident
benesch
thedrow
rleonhardt
mbaechtold
more...
vdboor
axnsan12
wiegandm
dr-mark
vmspike
asfaltboy
surfer190
OrsoBruno96
fiksani
gil-obradors
more...
wkornewaldbtimby
manuelnaranjo
meteozond
dannyroberts
ipmbvvangelovskiagconti
Documentation N/A N/A N/A N/A
Generated files (yield)
Files in storage
Files in local filesystem
Files in models (FileField)
Lighttpd's X-Sendfile
Apache's X-Sendfile
Files at URL
Nginx's X-Accel-Redirect
Text-based files (bytes, unicode, StringIO)
Multiple "rewrite rules"
mod_wsgi's internal redirect
Search WeightPackageDescriptionLast PyPI release:Repo ForksStars
{{ 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