Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

WhiteNoise

Build Status (Linux) Build Status (Windows) Latest PyPI version GitHub project

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.

Metadata

Release files for whitenoise 4.0b4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for whitenoise 4.0b4
File Size Uploaded Provenance Actions
whitenoise-4.0b4.tar.gz 40.7 kB Without provenance Details for whitenoise-4.0b4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for whitenoise 4.0b4
File Interpreter ABI Platform Actions
whitenoise-4.0b4-py2.py3-none-any.whl Python 3, Python 2 none any Details for whitenoise-4.0b4-py2.py3-none-any.whl

Total release size: 63.6 kB

Release files / whitenoise-4.0b4.tar.gz

Download URL whitenoise-4.0b4.tar.gz
Size 40.7 kB
Tags Source
SHA-256 checksum
How to use checksums
c42d640b8db482924b36ddadcc7087cf49f796fa1faa1583b3d07118f55a4265
BLAKE2b-256 checksum
How to use checksums
1c8bc335716ad55abbd2887e98af8f6e117ef9ac97fb04467b95edfc9eeabc31
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / whitenoise-4.0b4-py2.py3-none-any.whl

Download URL whitenoise-4.0b4-py2.py3-none-any.whl
Size 23.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
9a8ef48d2a2b4a101d84a0e5edbb20759affbc832cd74f3194e803cca7f28f6a
BLAKE2b-256 checksum
How to use checksums
ebb669b56f41d618b4774d2d2f85a1e81b7d615a8b4632b2b141d1a152feaa8a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for whitenoise 4.0b4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page