• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

docs/H19-Nov-2018-2,1251,313

whitenoise/H19-Nov-2018-1,2761,037

whitenoise.egg-info/H03-May-2022-7762

LICENSEH A D08-Aug-20131.1 KiB2116

MANIFEST.inH A D26-Jan-2017170 87

PKG-INFOH A D19-Nov-20183.3 KiB7762

README.rstH A D23-Sep-20171.8 KiB4733

setup.cfgH A D19-Nov-201893 117

setup.pyH A D11-Sep-20181.8 KiB5748

README.rst

1WhiteNoise
2==========
3
4.. image:: https://img.shields.io/travis/evansd/whitenoise.svg
5   :target:  https://travis-ci.org/evansd/whitenoise
6   :alt: Build Status (Linux)
7
8.. image:: https://img.shields.io/appveyor/ci/evansd/whitenoise.svg
9   :target:  https://ci.appveyor.com/project/evansd/whitenoise
10   :alt: Build Status (Windows)
11
12.. image:: https://img.shields.io/pypi/v/whitenoise.svg
13    :target: https://pypi.python.org/pypi/whitenoise
14    :alt: Latest PyPI version
15
16.. image:: https://img.shields.io/github/stars/evansd/whitenoise.svg?style=social&label=Star
17    :target: https://github.com/evansd/whitenoise
18    :alt: GitHub project
19
20**Radically simplified static file serving for Python web apps**
21
22With a couple of lines of config WhiteNoise allows your web app to serve its
23own static files, making it a self-contained unit that can be deployed anywhere
24without relying on nginx, Amazon S3 or any other external service. (Especially
25useful on Heroku, OpenShift and other PaaS providers.)
26
27It's designed to work nicely with a CDN for high-traffic sites so you don't have to
28sacrifice performance to benefit from simplicity.
29
30WhiteNoise works with any WSGI-compatible app but has some special auto-configuration
31features for Django.
32
33WhiteNoise takes care of best-practices for you, for instance:
34
35* Serving compressed content (gzip and Brotli formats, handling Accept-Encoding
36  and Vary headers correctly)
37* Setting far-future cache headers on content which won't change
38
39Worried that serving static files with Python is horribly inefficient?
40Still think you should be using Amazon S3? Have a look at the `Infrequently
41Asked Questions`_.
42
43To get started, see the documentation_.
44
45.. _Infrequently Asked Questions: http://whitenoise.evans.io/en/stable/#infrequently-asked-questions
46.. _documentation: http://whitenoise.evans.io/en/stable/
47