whitenoise


Namewhitenoise JSON
Version 6.6.0 PyPI version JSON
download
home_pagehttps://github.com/evansd/whitenoise
SummaryRadically simplified static file serving for WSGI applications
upload_time2023-10-11 09:40:59
maintainer
docs_urlNone
authorDavid Evans
requires_python>=3.8
licenseMIT
keywords django
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ==========
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?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/

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/evansd/whitenoise",
    "name": "whitenoise",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "Django",
    "author": "David Evans",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/16/e3/adddb43cf8eb924e18eca677d4e40d47348566224b724cb8d1eaf6a48d1b/whitenoise-6.6.0.tar.gz",
    "platform": null,
    "description": "==========\nWhiteNoise\n==========\n\n.. image:: https://img.shields.io/readthedocs/whitenoise?style=for-the-badge\n   :target: https://whitenoise.readthedocs.io/en/latest/\n\n.. image:: https://img.shields.io/github/actions/workflow/status/evansd/whitenoise/main.yml?branch=master&style=for-the-badge\n   :target: https://github.com/evansd/whitenoise/actions?workflow=CI\n\n.. image:: https://img.shields.io/badge/Coverage-96%25-success?style=for-the-badge\n   :target: https://github.com/evansd/whitenoise/actions?workflow=CI\n\n.. image:: https://img.shields.io/pypi/v/whitenoise.svg?style=for-the-badge\n   :target: https://pypi.org/project/whitenoise/\n\n.. image:: https://img.shields.io/badge/code%20style-black-000000.svg?style=for-the-badge\n   :target: https://github.com/psf/black\n\n.. image:: https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white&style=for-the-badge\n   :target: https://github.com/pre-commit/pre-commit\n   :alt: pre-commit\n\n**Radically simplified static file serving for Python web apps**\n\nWith a couple of lines of config WhiteNoise allows your web app to serve its\nown static files, making it a self-contained unit that can be deployed anywhere\nwithout relying on nginx, Amazon S3 or any other external service. (Especially\nuseful on Heroku, OpenShift and other PaaS providers.)\n\nIt's designed to work nicely with a CDN for high-traffic sites so you don't have to\nsacrifice performance to benefit from simplicity.\n\nWhiteNoise works with any WSGI-compatible app but has some special auto-configuration\nfeatures for Django.\n\nWhiteNoise takes care of best-practices for you, for instance:\n\n* Serving compressed content (gzip and Brotli formats, handling Accept-Encoding\n  and Vary headers correctly)\n* Setting far-future cache headers on content which won't change\n\nWorried that serving static files with Python is horribly inefficient?\nStill think you should be using Amazon S3? Have a look at the `Infrequently\nAsked Questions`_.\n\nTo get started, see the documentation_.\n\n.. _Infrequently Asked Questions: https://whitenoise.readthedocs.io/en/stable/#infrequently-asked-questions\n.. _documentation: https://whitenoise.readthedocs.io/en/stable/\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Radically simplified static file serving for WSGI applications",
    "version": "6.6.0",
    "project_urls": {
        "Changelog": "https://whitenoise.readthedocs.io/en/stable/changelog.html",
        "Documentation": "https://whitenoise.readthedocs.io/",
        "Homepage": "https://github.com/evansd/whitenoise"
    },
    "split_keywords": [
        "django"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6716bb488ac8230f1bce94943b6654f2aad566d18aae575c8b6d8a99c78c489e",
                "md5": "71fd1490874cc2a6444e6029b00d0c0b",
                "sha256": "b1f9db9bf67dc183484d760b99f4080185633136a273a03f6436034a41064146"
            },
            "downloads": -1,
            "filename": "whitenoise-6.6.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "71fd1490874cc2a6444e6029b00d0c0b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 19870,
            "upload_time": "2023-10-11T09:40:57",
            "upload_time_iso_8601": "2023-10-11T09:40:57.977273Z",
            "url": "https://files.pythonhosted.org/packages/67/16/bb488ac8230f1bce94943b6654f2aad566d18aae575c8b6d8a99c78c489e/whitenoise-6.6.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "16e3adddb43cf8eb924e18eca677d4e40d47348566224b724cb8d1eaf6a48d1b",
                "md5": "4926cee7317ac12533549c08043ee322",
                "sha256": "8998f7370973447fac1e8ef6e8ded2c5209a7b1f67c1012866dbcd09681c3251"
            },
            "downloads": -1,
            "filename": "whitenoise-6.6.0.tar.gz",
            "has_sig": false,
            "md5_digest": "4926cee7317ac12533549c08043ee322",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 25078,
            "upload_time": "2023-10-11T09:40:59",
            "upload_time_iso_8601": "2023-10-11T09:40:59.593920Z",
            "url": "https://files.pythonhosted.org/packages/16/e3/adddb43cf8eb924e18eca677d4e40d47348566224b724cb8d1eaf6a48d1b/whitenoise-6.6.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-11 09:40:59",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "evansd",
    "github_project": "whitenoise",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "whitenoise"
}
        
Elapsed time: 0.12222s