This commit is contained in:
Iliyan Angelov
2025-09-14 23:24:25 +03:00
commit c67067a2a4
71311 changed files with 6800714 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
The MIT License (MIT)
Copyright (c) 2013 David Evans
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

View File

@@ -0,0 +1,86 @@
Metadata-Version: 2.1
Name: whitenoise
Version: 6.6.0
Summary: Radically simplified static file serving for WSGI applications
Home-page: https://github.com/evansd/whitenoise
Author: David Evans
License: MIT
Project-URL: Documentation, https://whitenoise.readthedocs.io/
Project-URL: Changelog, https://whitenoise.readthedocs.io/en/stable/changelog.html
Keywords: Django
Classifier: Development Status :: 5 - Production/Stable
Classifier: Framework :: Django
Classifier: Framework :: Django :: 3.2
Classifier: Framework :: Django :: 4.0
Classifier: Framework :: Django :: 4.1
Classifier: Framework :: Django :: 4.2
Classifier: Framework :: Django :: 5.0
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware
Classifier: Typing :: Typed
Requires-Python: >=3.8
Description-Content-Type: text/x-rst
License-File: LICENSE
Provides-Extra: brotli
Requires-Dist: Brotli ; extra == 'brotli'
==========
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/

View File

@@ -0,0 +1,31 @@
whitenoise-6.6.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
whitenoise-6.6.0.dist-info/LICENSE,sha256=6_1Gm0-2ta2tpUd0fh6NpyXs8gWV1UrO0EMnXU9KNgA,1078
whitenoise-6.6.0.dist-info/METADATA,sha256=Yd7GnpavWPlfH9IA2y4ppSyDitbDbZleyHn4TxmYeEk,3659
whitenoise-6.6.0.dist-info/RECORD,,
whitenoise-6.6.0.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
whitenoise-6.6.0.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
whitenoise-6.6.0.dist-info/top_level.txt,sha256=B9W4KO2HU7q-2WgAvuqFtjp3cG4z2RZ5JDZB0Wuni6Q,11
whitenoise/__init__.py,sha256=8FRXL14pHife1UEnxUWFuP0Lh1LmNzyTqiH3_-m0fz0,101
whitenoise/__pycache__/__init__.cpython-312.pyc,,
whitenoise/__pycache__/base.cpython-312.pyc,,
whitenoise/__pycache__/compress.cpython-312.pyc,,
whitenoise/__pycache__/media_types.cpython-312.pyc,,
whitenoise/__pycache__/middleware.cpython-312.pyc,,
whitenoise/__pycache__/responders.cpython-312.pyc,,
whitenoise/__pycache__/storage.cpython-312.pyc,,
whitenoise/__pycache__/string_utils.cpython-312.pyc,,
whitenoise/base.py,sha256=h2GmK8FqC3UglgkFGe6aJxrFTGY-zTWPerg4FYPvvMc,10306
whitenoise/compress.py,sha256=2bsP21uiMDnKCRVOS3f_JsDIIiClJDJ-_TvHUc5QSPM,5473
whitenoise/media_types.py,sha256=knZ-VEYwyuKanHERBT_wEGDMpawYzw13TnBZVm8ENjs,5195
whitenoise/middleware.py,sha256=r9y4DrBZRbwwz-EnLI2Vd0wWXiKReJn-9cXrks3CFnA,7201
whitenoise/responders.py,sha256=2qewtUZt6CIigrFFh2kuWDCAAZiUaaS6T2dXCh9NauU,9882
whitenoise/runserver_nostatic/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
whitenoise/runserver_nostatic/__pycache__/__init__.cpython-312.pyc,,
whitenoise/runserver_nostatic/management/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
whitenoise/runserver_nostatic/management/__pycache__/__init__.cpython-312.pyc,,
whitenoise/runserver_nostatic/management/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
whitenoise/runserver_nostatic/management/commands/__pycache__/__init__.cpython-312.pyc,,
whitenoise/runserver_nostatic/management/commands/__pycache__/runserver.cpython-312.pyc,,
whitenoise/runserver_nostatic/management/commands/runserver.py,sha256=94QoRkFClrqsVHvj1MPV1QL6U77y2-hXCOuVorWsrXY,1675
whitenoise/storage.py,sha256=8Q0zuvyXDqBSFI57rgszPFNqeCr9NIbDXtMTiQwYVYc,6650
whitenoise/string_utils.py,sha256=qH2LkNeYjQ0ej25m-64R2TOKv3-1E8kfHUjO4BBFAWM,490

View File

@@ -0,0 +1,5 @@
Wheel-Version: 1.0
Generator: bdist_wheel (0.41.2)
Root-Is-Purelib: true
Tag: py3-none-any

View File

@@ -0,0 +1 @@
whitenoise