www/py-a2wsgi 1.10.10
Convert WSGI app to ASGI app or ASGI app to WSGI app
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- APACHE20
- Categories
- www, python
- Package size
- 33.1 KiB, 146.4 KiB installed
Description
Convert WSGI app to ASGI app or ASGI app to WSGI app.
Pure Python. Only depend on the standard library.
Compared with other converters, the advantage is that a2wsgi will not accumulate the requested content or response content in the memory, so you don't have to worry about the memory limit caused by a2wsgi. This problem exists in converters implemented by uvicorn/startlette or hypercorn.
Install
As a binary package — by origin, or by package name:
pkg install www/py-a2wsgi
pkg install py312-a2wsgi
From the ports tree:
cd /usr/ports/www/py-a2wsgi/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-a2wsgi>0:www/py-a2wsgi
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 | 1.10.10 | 1.10.10 | - | - | 1.10.10 |
| FreeBSD:14:quarterly | 1.10.10 | 1.10.10 | n/a | - | 1.10.10 |
| FreeBSD:15:latest | 1.10.10 | 1.10.10 | n/a | - | - |
| FreeBSD:15:quarterly | 1.10.10 | 1.10.10 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.10.10 | 1.10.10 | 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}hatchling>=0: devel/py-hatchling${PYTHON_PKGNAMEPREFIX}pdm-backend>=0: devel/py-pdm-backend
Test 2
${PYTHON_PKGNAMEPREFIX}pytest-asyncio>0: devel/py-pytest-asyncio${PYTHON_PKGNAMEPREFIX}baize>=0: www/py-baize
The full lists below include those, and their dependencies in turn.
All build dependencies 20
- 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-pdm-backend
- 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
All run dependencies 7
Required by 3
Configuration
No options to configure.
- USES
- cpe python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| a2wsgi-1.10.10.tar.gz | 18799 | a5bcffb52081ba39df0d5e9a884fc6f819d92e3a42389343ba77cbf809fe1f45 |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.