BSD Ports

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.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
NetBSDwww/py-whitenoise6.12.0 newestnone known-[email protected]-
FreeBSDwww/py-whitenoise6.2.0_1none known-[email protected]-
DragonFlywww/py-whitenoise6.2.0_1none known-[email protected]-
HardenedBSDwww/py-whitenoise6.2.0_1no data-[email protected]-
GhostBSDwww/py-whitenoise6.2.0_1no data-[email protected]-

Compare across BSDs

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.

RepositoryVersion
NetBSD 10.1 x86_646.12.0
NetBSD 10.1 aarch646.12.0
SmartOS / illumos x86_646.12.0
macOS 15 arm646.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