www/py-rolo 0.8.4 FreeBSD
Python framework for building HTTP-based server applications
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
c02352d338- License
- APACHE20
- Categories
- www, python
- Package size
- 116.3 KiB, 648.7 KiB installed
Description
Rolo is a flexible framework and library to build HTTP-based server applications beyond microservices and REST APIs. You can build HTTP-based RPC servers, websocket proxies, or other server types that typical web frameworks are not designed for.
Rolo extends Werkzeug, a flexible Python HTTP server library, for you to use concepts you are familiar with like Router, Request, Response, or @route. It introduces the concept of a Gateway and HandlerChain, an implementation variant of the chain-of-responsibility pattern.
Rolo is designed for environments that do not use asyncio, but still require asynchronous HTTP features like HTTP2 SSE or Websockets. To allow asynchronous communication, Rolo introduces an ASGI/WSGI bridge, that allows you to serve Rolo applications through ASGI servers like Hypercorn.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | www/py-rolo | 0.8.4 |
| HardenedBSD | www/py-rolo | 0.8.4 |
| GhostBSD | www/py-rolo | 0.8.4 |
Install
Binary package:
pkg install py312-rolo
From the ports tree:
cd /usr/ports/www/py-rolo/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-rolo>0:www/py-rolo
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.8.4 | 0.8.4 | - | - | 0.8.4 |
| FreeBSD:14:quarterly | 0.8.4 | 0.8.4 | n/a | - | 0.8.4 |
| FreeBSD:15:latest | 0.8.4 | 0.8.4 | n/a | - | - |
| FreeBSD:15:quarterly | 0.8.4 | 0.8.4 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.8.4 | 0.8.4 | 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}hatch-vcs>=0: devel/py-hatch-vcs${PYTHON_PKGNAMEPREFIX}hatchling>=0: devel/py-hatchling
Runtime 2
${PYTHON_PKGNAMEPREFIX}requests>=2.20: www/py-requests${PYTHON_PKGNAMEPREFIX}werkzeug>=3.0: www/py-werkzeug
The full lists below include those, and their dependencies in turn.
Build dependencies 22
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/libffi
- devel/py-build
- devel/py-hatch-vcs
- devel/py-hatchling
- devel/py-installer
- devel/py-packaging
- devel/py-pathspec
- devel/py-pluggy
- devel/py-pyproject-hooks
- devel/py-setuptools
- devel/py-setuptools-scm
- devel/py-trove-classifiers
- devel/readline
- lang/python312
- lang/python315
- math/mpdecimal
- print/indexinfo
- textproc/expat2
- textproc/py-tomlkit
Run dependencies 15
No port depends on this one.
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| rolo-0.8.4.tar.gz | 176401 | 5f972b48010d0ae483aa4a37144ecc25826e151c1884666d1aef875b6ad24ff0 |
Master sites 1
- PYPI