whitenoise


Namewhitenoise JSON
Version 6.8.2 PyPI version JSON
download
home_pageNone
SummaryRadically simplified static file serving for WSGI applications
upload_time2024-10-29 23:04:39
maintainerDavid Evans
docs_urlNone
authorDavid Evans
requires_python>=3.9
licenseNone
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.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/

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "whitenoise",
    "maintainer": "David Evans",
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": "Adam Johnson <me@adamj.eu>",
    "keywords": "Django",
    "author": "David Evans",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/68/49/c21ebb5b911888c349a849ec7d1ead2dffbbcc4e2be0f6af2a7dbac03393/whitenoise-6.8.2.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.svg?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": null,
    "summary": "Radically simplified static file serving for WSGI applications",
    "version": "6.8.2",
    "project_urls": {
        "Changelog": "https://whitenoise.readthedocs.io/en/stable/changelog.html",
        "Documentation": "https://whitenoise.readthedocs.io/",
        "Repository": "https://github.com/evansd/whitenoise"
    },
    "split_keywords": [
        "django"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8c3a8d22513e1942899270dcdbd47f9886309836442cd7ede4b0d00be79715f5",
                "md5": "77c31b1dcead2cf295cfa9d0c7babe7a",
                "sha256": "df12dce147a043d1956d81d288c6f0044147c6d2ab9726e5772ac50fb45d2280"
            },
            "downloads": -1,
            "filename": "whitenoise-6.8.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "77c31b1dcead2cf295cfa9d0c7babe7a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 20158,
            "upload_time": "2024-10-29T23:04:38",
            "upload_time_iso_8601": "2024-10-29T23:04:38.415179Z",
            "url": "https://files.pythonhosted.org/packages/8c/3a/8d22513e1942899270dcdbd47f9886309836442cd7ede4b0d00be79715f5/whitenoise-6.8.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6849c21ebb5b911888c349a849ec7d1ead2dffbbcc4e2be0f6af2a7dbac03393",
                "md5": "3dafb52a896b1826bbe23ebc18a83819",
                "sha256": "486bd7267a375fa9650b136daaec156ac572971acc8bf99add90817a530dd1d4"
            },
            "downloads": -1,
            "filename": "whitenoise-6.8.2.tar.gz",
            "has_sig": false,
            "md5_digest": "3dafb52a896b1826bbe23ebc18a83819",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 25892,
            "upload_time": "2024-10-29T23:04:39",
            "upload_time_iso_8601": "2024-10-29T23:04:39.888126Z",
            "url": "https://files.pythonhosted.org/packages/68/49/c21ebb5b911888c349a849ec7d1ead2dffbbcc4e2be0f6af2a7dbac03393/whitenoise-6.8.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-29 23:04:39",
    "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: 1.62811s