www/py-granian 2.7.6_3 FreeBSD
Rust HTTP server for Python applications
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
9c878207a1- License
- BSD3CLAUSE
- Categories
- www, python
- Package size
- 3046.3 KiB, 17314.4 KiB installed
Description
A Rust HTTP server for Python applications built on top of the Hyper crate.
Features:
- Supports ASGI/3, RSGI and WSGI interface applications
- Implements HTTP/1 and HTTP/2 protocols
- Supports HTTPS
- Supports Websockets
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | www/py-granian | 2.7.6_3 |
| HardenedBSD | www/py-granian | 2.7.6_2 |
| GhostBSD | www/py-granian | 2.7.6_2 |
Install
Binary package:
pkg install py312-granian
From the ports tree:
cd /usr/ports/www/py-granian/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-granian>0:www/py-granian
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.7.6_2 | 2.7.6_3 | - | 2.5.0 | 2.7.6_3 |
| FreeBSD:14:quarterly | 2.7.6_2 | 2.7.6_2 | n/a | 2.3.4 | 2.7.6_2 |
| FreeBSD:15:latest | 2.7.6_3 | 2.7.6_3 | n/a | 2.5.0 | 2.5.0 |
| FreeBSD:15:quarterly | 2.7.6_2 | 2.7.6_2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.7.6_2 | 2.7.6_3 | 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 1
${PYTHON_PKGNAMEPREFIX}maturin>=1.7<2.0: devel/py-maturin
Runtime 1
${PYTHON_PKGNAMEPREFIX}click>=8.0: devel/py-click
The full lists below include those, and their dependencies in turn.
Build dependencies 23
- archivers/brotli
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/libffi
- devel/libunistring
- devel/py-build
- devel/py-installer
- devel/py-maturin
- devel/py-packaging
- devel/py-pyproject-hooks
- devel/readline
- dns/libidn2
- dns/libpsl
- ftp/curl
- lang/python312
- lang/python315
- lang/rust
- math/mpdecimal
- print/indexinfo
- security/libssh2
- textproc/expat2
- www/libnghttp2
Run dependencies 8
Required by 11
- deskutils/py-paperless-ngx
- misc/py-banks
- misc/py-litellm
- misc/py-llama-index-core
- misc/py-llama-index-embeddings-huggingface
- misc/py-llama-index-llms-ibm
- misc/py-llama-index-llms-openai
- misc/py-llama-index-llms-openai-like
- textproc/py-docling-graph
- textproc/py-docling-litellm-picture-description
- textproc/py-docling-sdg
Configuration
No options to configure.
- USES
- cargo python
- Service scripts
- none
Files
distinfo 186
| File | Size | SHA256 |
|---|---|---|
| granian-2.7.6.tar.gz | 128698 | 52c8eaa5bdd636535c4c50b62591420612297f38151786cffd8c8cd39c738da3 |
| rust/crates/aes-0.8.4.crate | 124812 | b169f7a6d4742236a0a00c541b845991d0ac43e546831af1249753ab4c3aa3a0 |
| rust/crates/anyhow-1.0.102.crate | 48658 | 7f202df86484c868dbad7eaa557ef785d5c66295e41b460ef922eca0723b842c |
| rust/crates/arc-swap-1.9.1.crate | 81367 | 6a3a1fd6f75306b68087b831f025c712524bcb19aad54e557b1129cfa0a2b207 |
| rust/crates/atomic-waker-1.1.2.crate | 12422 | 1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0 |
| rust/crates/autocfg-1.5.1.crate | 18911 | f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53 |
| rust/crates/base64-0.22.1.crate | 81597 | 72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6 |
| rust/crates/base64ct-1.8.3.crate | 32227 | 2af50177e190e07a26ab74f8b1efbfe2ef87da2116221318cb1c2e82baf7de06 |
| rust/crates/bitflags-2.13.0.crate | 51280 | b4388bee8683e3d04af747c73422af53102d2bd24d9eadb6cbc100baef4b43f8 |
| rust/crates/block-buffer-0.10.4.crate | 10538 | 3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71 |
| rust/crates/block-padding-0.3.3.crate | 8504 | a8894febbff9f758034a5b8e12d87918f56dfc64a8e1fe757d65e29041538d93 |
| rust/crates/bytes-1.11.1.crate | 78584 | 1e748733b7cbc798e1434b6ac524f0c1ff2ab456fe201501e6497c8417a4fc33 |
| rust/crates/cbc-0.1.2.crate | 23501 | 26b52a9543ae338f279b96b0b9fed9c8093744685043739079ce85cd58f289a6 |
| rust/crates/cc-1.2.63.crate | 97259 | 556e016178bb5662a08681bbe0f00f8e17631781a4dfc8c45e466e4b185ec27f |
| rust/crates/cfg-if-1.0.4.crate | 9360 | 9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801 |
| rust/crates/ciborium-0.2.2.crate | 35611 | 42e69ffd6f0917f5c029256a24d0161db17cea3997d185db0d35926308770f0e |
| rust/crates/ciborium-io-0.2.2.crate | 6697 | 05afea1e0a06c9be33d539b876f1ce3692f4afea2cb41f740e7743225ed1c757 |
| rust/crates/ciborium-ll-0.2.2.crate | 14695 | 57663b653d948a338bfb3eeba9bb2fd5fcfaecb9e199e87e1eda4d9e8b240fd9 |
| rust/crates/cipher-0.4.4.crate | 19073 | 773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad |
| rust/crates/const-oid-0.9.6.crate | 45382 | c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8 |
Master sites 1
- PYPI