freshcrate
Home > Frameworks > whitenoise

whitenoise

Radically simplified static file serving for WSGI applications

Description

========== WhiteNoise ========== .. image:: https://img.shields.io/readthedocs/whitenoise?style=for-the-badge :target: https://whitenoise.readthedocs.io/en/latest/ .. image:: https://img.shields.io/github/actions/workflow/status/evansd/whitenoise/main.yml.svg?branch=master&style=for-the-badge :target: https://github.com/evansd/whitenoise/actions?workflow=CI .. image:: https://img.shields.io/badge/Coverage-96%25-success?style=for-the-badge :target: https://github.com/evansd/whitenoise/actions?workflow=CI .. image:: https://img.shields.io/pypi/v/whitenoise.svg?style=for-the-badge :target: https://pypi.org/project/whitenoise/ .. image:: https://img.shields.io/badge/code%20style-black-000000.svg?style=for-the-badge :target: https://github.com/psf/black .. image:: https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white&style=for-the-badge :target: https://github.com/pre-commit/pre-commit :alt: pre-commit **Radically simplified static file serving for Python web apps** With a couple of lines of config WhiteNoise allows your web app to serve its own static files, making it a self-contained unit that can be deployed anywhere without relying on nginx, Amazon S3 or any other external service. (Especially useful on Heroku, OpenShift and other PaaS providers.) It's designed to work nicely with a CDN for high-traffic sites so you don't have to sacrifice performance to benefit from simplicity. WhiteNoise works with any WSGI-compatible app but has some special auto-configuration features for Django. WhiteNoise takes care of best-practices for you, for instance: * Serving compressed content (gzip and Brotli formats, handling Accept-Encoding and Vary headers correctly) * Setting far-future cache headers on content which won't change Worried that serving static files with Python is horribly inefficient? Still think you should be using Amazon S3? Have a look at the `Infrequently Asked Questions`_. To get started, see the documentation_. .. _Infrequently Asked Questions: https://whitenoise.readthedocs.io/en/stable/#infrequently-asked-questions .. _documentation: https://whitenoise.readthedocs.io/en/stable/

Release History

VersionChangesUrgencyDate
6.12.0Imported from PyPI (6.12.0)Low4/21/2026
v5.3.0Tag v5.3.0Low7/16/2021
v5.2.0Tag v5.2.0Low8/4/2020
v5.1.0Tag v5.1.0Low5/20/2020
v5.0.1Tag v5.0.1Low12/12/2019
v5.0Tag v5.0Low12/10/2019
v4.1.4Tag v4.1.4Low9/24/2019
v4.1.3Tag v4.1.3Low7/13/2019
v4.1.2Tag v4.1.2Low11/19/2018
v4.1.1Tag v4.1.1Low11/13/2018
v4.1Tag v4.1Low9/12/2018
v4.0Tag v4.0Low8/10/2018
v4.0b5Tag v4.0b5Low7/21/2018
v4.0b4Tag v4.0b4Low9/23/2017
v3.3.1Tag v3.3.1Low9/23/2017
v4.0b3Tag v4.0b3Low8/20/2017
v4.0b2Tag v4.0b2Low7/19/2017
v4.0b1Tag v4.0b1Low7/4/2017
v3.3.0Tag v3.3.0Low1/26/2017
v3.2.3Tag v3.2.3Low1/4/2017
v3.2.2Tag v3.2.2Low9/26/2016

Dependencies & License Audit

Loading dependencies...

Similar Packages

lacesDjango components that know how to render themselves.0.1.2
drf-yasgAutomated generation of real Swagger/OpenAPI 2.0 schemas from Django Rest Framework code.1.21.15
django-environA package that allows you to utilize 12factor inspired environment variables to configure your Django application.0.13.0
drf-spectacularSane and flexible OpenAPI 3 schema generation for Django REST framework0.29.0
django-cors-headersdjango-cors-headers is a Django application for handling the server headers required for Cross-Origin Resource Sharing (CORS).4.9.0