www/py-priority 2.0.0_1 FreeBSD
Pure-Python implementation of the HTTP/2 priority tree
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- MIT
- Categories
- www, python
- Package size
- 15.4 KiB, 63.3 KiB installed
Description
Priority is a pure-Python implementation of the priority logic for HTTP/2, set out in RFC 7540 Section 5.3 (Stream Priority). This logic allows for clients to express a preference for how the server allocates its (limited) resources to the many outstanding HTTP requests that may be running over a single HTTP/2 connection.
Specifically, this Python implementation uses a variant of the implementation used in the excellent H2O project. This original implementation is also the inspiration for nghttp2's priority implementation, and generally produces a very clean and even priority stream. The only notable changes from H2O's implementation are small modifications to allow the priority implementation to work cleanly as a separate implementation, rather than being embedded in a HTTP/2 stack directly.
While priority information in HTTP/2 is only a suggestion, rather than an enforceable constraint, where possible servers should respect the priority requests of their clients.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | www/py-priority | 2.0.0_1 |
| NetBSD | www/py-priority | 2.0.0nb1 |
| DragonFly | www/py-priority | 2.0.0_1 |
| MidnightBSD | www/py-priority | 2.0.0_1 |
Install
Binary package:
pkg install py312-priority
From the ports tree:
cd /usr/ports/www/py-priority/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-priority>0:www/py-priority
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 2.0.0_1 | 2.0.0_1 | 2.0.0 | 2.0.0_1 | 2.0.0_1 |
| FreeBSD:14:quarterly | 2.0.0_1 | 2.0.0_1 | n/a | 2.0.0_1 | 2.0.0_1 |
| FreeBSD:15:latest | 2.0.0_1 | 2.0.0_1 | n/a | 2.0.0_1 | 2.0.0_1 |
| FreeBSD:15:quarterly | 2.0.0_1 | 2.0.0_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.0.0_1 | 2.0.0_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 2
${PYTHON_PKGNAMEPREFIX}setuptools>=0: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
The full lists below include those, and their dependencies in turn.
Build dependencies 16
Run dependencies 7
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| priority-2.0.0.tar.gz | 24792 | c965d54f1b8d0d0b19479db3924c7c36cf672dbf2aec92d43fbdaf4492ba18c0 |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.