Helpers to serve files managed with Django using various optimizations (x-sendfile, x-accel, ...)
Package | Django | django-downloadview | django-private-storage | file validator |
---|
Package | Django | django-downloadview | django-private-storage | file validator |
---|---|---|---|---|
Description |
The Web framework for perfectionists with deadlines. |
Serve files with Django. |
Private media file storage for Django projects |
a Python validation library to validate files using type, mime, extension, magic numbers and size ✅ |
Category | Framework | App | Other | Other |
# Using This |
435
![]() |
4
![]() |
2
![]() |
0
![]() |
Python 3? | ||||
Development Status | Production/Stable | Production/Stable | Production/Stable | Production/Stable |
Last updated | Feb. 2, 2023, 7:21 a.m. | Aug. 5, 2022, 3:38 a.m. | Nov. 16, 2021, 5:33 p.m. | Feb. 1, 2023, 2:57 p.m. |
Version | 4.1.4 | 2.3.0 | 3.0 | 0.1.6 |
Repo | GitHub | GitHub | GitHub | GitHub |
Commits | ||||
Stars | 68,532 | 330 | 305 | 18 |
Repo Forks | 28,552 | 57 | 60 | 2 |
Participants |
timgraham
adrianholovaty malcolmt freakboy3742 claudep aaugustin felixxm jezdez jacobian charettes more... |
benoitbryon
Natim johnthagen joehybird cjdreiss tari hramezani jezdez aleksihakli quietlyconfident more... |
vdboor
pjstevns axnsan12 wiegandm dr-mark vmspike asfaltboy nimdanor OrsoBruno96 fiksani more... |
rzashakeri
lgtm-migrator restyled-commits sondrelg snyk-bot |
Documentation | ||||
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" |
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<br>field name. |
mod_wsgi's internal redirect | Set Location with 200 code to trigger internal redirect (daemon mode mod_wsgi<br>only) |
Multiple "rewrite rules" | Several rules can be configured to capture files from several locations then<br>optimize their streaming.s |
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 |