www/py-whitenoise 6.12.0 NetBSD
Simplified static file serving for WSGI applications
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- License
- mit
- Categories
- www, python
- Package size
- 41.9 KiB, 195.0 KiB installed
Description
WhiteNoise provides 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
In the other systems
The newest version among them is 6.12.0, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| NetBSD | www/py-whitenoise | 6.12.0 newest | none known | - | [email protected] | - |
| FreeBSD | www/py-whitenoise | 6.2.0_1 | none known | - | [email protected] | - |
| DragonFly | www/py-whitenoise | 6.2.0_1 | none known | - | [email protected] | - |
| HardenedBSD | www/py-whitenoise | 6.2.0_1 | no data | - | [email protected] | - |
| GhostBSD | www/py-whitenoise | 6.2.0_1 | no data | - | [email protected] | - |
Install
Binary package:
pkgin install py311-whitenoise
From pkgsrc:
cd /usr/pkgsrc/www/py-whitenoise && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 6.12.0 |
| NetBSD 10.1 aarch64 | 6.12.0 |
| SmartOS / illumos x86_64 | 6.12.0 |
| macOS 15 arm64 | 6.12.0 |
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.
Dependencies
Run dependencies 1
No port depends on this one.
Configuration
No options to configure.
- Service scripts
- none
- Flavors
py312-whitenoise-6.12.0,py313-whitenoise-6.12.0,py314-whitenoise-6.12.0