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 This40344120101
Python 3?
Development Status Production/Stable Beta Production/Stable Beta n/a Beta n/a Beta Pre-Alpha
Last updated March 18, 2019, 11:26 a.m. Jan. 12, 2017, 4:33 p.m. Sept. 14, 2017, 8:26 a.m. Feb. 7, 2019, 7:12 a.m. July 5, 2016, 2:30 p.m. Aug. 4, 2017, 6:44 p.m. June 1, 2009, 6:44 p.m. June 10, 2011, 1:17 p.m. Feb. 10, 2016, 4:46 p.m.
Version2.1.70.3.111.92.1.3n/a0.4n/a1.0.10.2.1
RepoGithubGithubGithubGithubBitbucketGithubGithubBitbucketGithub
Commits
Stars40209406166976446321710
Repo Forks17303843323139n/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
cjdreiss
Natim
joehybird
quietlyconfident
benesch
thedrow
rleonhardt
mbaechtold
zerc
vdboor
axnsan12
dr-mark
vmspike
surfer190
fiksani
gil-obradors
thecardcheat
mbatle
shtalinberg
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