Skip to main content

WhiteNoise

Build Status 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 3.2.2

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 3.2.2
File Size Uploaded Provenance Actions
whitenoise-3.2.2.tar.gz 31.0 kB Without provenance Details for whitenoise-3.2.2.tar.gz

Built distribution (wheel)

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

Total release size: 48.9 kB

Release files / whitenoise-3.2.2.tar.gz

Download URL whitenoise-3.2.2.tar.gz
Size 31.0 kB
Tags Source
SHA-256 checksum
How to use checksums
e4c77cdde3f7a1cd2c1d985d6a3d7dc8aff5f3d18c2f331e7171933aacaeb440
BLAKE2b-256 checksum
How to use checksums
bbc37d2bc79d90a8583903d9b4b28c0aae3ae7d106f7c3e9c15e269858959347
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / whitenoise-3.2.2-py2.py3-none-any.whl

Download URL whitenoise-3.2.2-py2.py3-none-any.whl
Size 17.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
90a576ecb938cfef3fd1dba0c82d10e8e9ff0acb6079d7edba64822db0e4384d
BLAKE2b-256 checksum
How to use checksums
260be6a3b2ba1905deb722c05670f292170d079a3c8df76c0239db83ced9322b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for whitenoise 3.2.2

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

3.2.2 This release

2 release files No provenance

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