www/py-starlette-context 0.5.1 FreeBSD
Starlette: store and access the context data of a request
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- MIT
- Categories
- www, python
- Package size
- 20.8 KiB, 76.5 KiB installed
Description
starlette-context is a middleware for Starlette that allows you to store and access the context data of a request. Can be used with logging so logs automatically use request headers such as x-request-id or x-correlation-id.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | www/py-starlette-context | 0.5.1 |
| DragonFly | www/py-starlette-context | 0.4.0 |
Install
Binary package:
pkg install py312-starlette-context
From the ports tree:
cd /usr/ports/www/py-starlette-context/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-starlette-context>0:www/py-starlette-context
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 | 0.5.1 | 0.5.1 | - | 0.4.0 | 0.5.1 |
| FreeBSD:14:quarterly | 0.5.1 | 0.5.1 | n/a | 0.4.0 | 0.5.1 |
| FreeBSD:15:latest | 0.5.1 | 0.5.1 | n/a | 0.4.0 | 0.4.0 |
| FreeBSD:15:quarterly | 0.5.1 | 0.5.1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.5.1 | 0.5.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 1
${PYTHON_PKGNAMEPREFIX}hatchling>0: devel/py-hatchling
Runtime 1
${PYTHON_PKGNAMEPREFIX}starlette>0: www/py-starlette
Test 6
${PYTHON_PKGNAMEPREFIX}coverage>=7.4.1: devel/py-coverage${PYTHON_PKGNAMEPREFIX}httpx>=0.23.2: www/py-httpx${PYTHON_PKGNAMEPREFIX}pytest-asyncio>=0.20.4: devel/py-pytest-asyncio${PYTHON_PKGNAMEPREFIX}pytest-cov>=4.1: devel/py-pytest-cov${PYTHON_PKGNAMEPREFIX}pytest-sugar>=0.9.7: devel/py-pytest-sugar${PYTHON_PKGNAMEPREFIX}pytest-xdist>=3.5.0: devel/py-pytest-xdist
The full lists below include those, and their dependencies in turn.
Build dependencies 19
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/libffi
- devel/py-build
- devel/py-hatchling
- devel/py-installer
- devel/py-packaging
- devel/py-pathspec
- devel/py-pluggy
- devel/py-pyproject-hooks
- devel/py-trove-classifiers
- devel/readline
- lang/python312
- lang/python315
- math/mpdecimal
- print/indexinfo
- textproc/expat2
- textproc/py-tomlkit
Run dependencies 29
- devel/gettext-runtime
- devel/libffi
- devel/py-Jinja2
- devel/py-anyio
- devel/py-babel
- devel/py-pyyaml
- devel/py-typing-extensions
- devel/readline
- dns/py-idna
- lang/python312
- math/mpdecimal
- net/py-h11
- net/py-socksio
- print/indexinfo
- security/py-certifi
- security/py-itsdangerous
- security/py-truststore
- textproc/expat2
- textproc/libyaml
- textproc/py-markupsafe
- www/py-h2
- www/py-hpack
- www/py-httpcore
- www/py-httpcore2
- www/py-httpx
- www/py-httpx2
- www/py-hyperframe
- www/py-python-multipart
- www/py-starlette
Required by 1
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| tomwojcik-starlette-context-v0.5.1_GH0.tar.gz | 104313 | b3a5ae7ce76e2b78168732d0209adbd979372747433bd1de345795a47b3a39af |
Commit history 0
No commits in the history this site was built from.