www/py-slowapi 0.1.10 FreeBSD
Rate limiting extension for Starlette and Fastapi
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- MIT
- Categories
- www, python
- Package size
- 33.4 KiB, 159.9 KiB installed
Description
SlowApi is a rate limiting library for Starlette and FastAPI adapted from flask-limiter. Most features are coming from flask-limiter and the underlying limits package.
Features:
- Single and multiple limit decorator on endpoint functions to apply limits
- redis, memcached and memory backends to track your limits (memory as a fallback)
- support for sync and async HTTP endpoints
- Support for shared limits across a set of routes
Install
Binary package:
pkg install py312-slowapi
From the ports tree:
cd /usr/ports/www/py-slowapi/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-slowapi>0:www/py-slowapi
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.1.10 | 0.1.10 | - | - | 0.1.10 |
| FreeBSD:14:quarterly | 0.1.10 | 0.1.10 | n/a | - | 0.1.10 |
| FreeBSD:15:latest | 0.1.10 | 0.1.10 | n/a | - | - |
| FreeBSD:15:quarterly | 0.1.10 | 0.1.10 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.1.10 | 0.1.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 1
${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0: devel/py-poetry-core
Runtime 3
${PYTHON_PKGNAMEPREFIX}limits>=2.3: www/py-limits${PYTHON_PKGNAMEPREFIX}starlette>0: www/py-starlette${PYTHON_PKGNAMEPREFIX}typing-extensions>0: devel/py-typing-extensions
Test 4
${PYTHON_PKGNAMEPREFIX}fastapi>=0.89.0: www/py-fastapi${PYTHON_PKGNAMEPREFIX}httpx>=0.23.3: www/py-httpx${PYTHON_PKGNAMEPREFIX}mock>=4.0.1: devel/py-mock${PYTHON_PKGNAMEPREFIX}requests>=2.22.0: www/py-requests
The full lists below include those, and their dependencies in turn.
Build dependencies 15
Run dependencies 36
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/libffi
- devel/py-Jinja2
- devel/py-anyio
- devel/py-babel
- devel/py-deprecated
- devel/py-packaging
- devel/py-pyyaml
- devel/py-typing-extensions
- devel/py-wrapt
- devel/readline
- dns/py-idna
- lang/python312
- lang/python315
- 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-limits
- 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 |
|---|---|---|
| laurents-slowapi-v0.1.10_GH0.tar.gz | 57663 | bb257f8c2df497aca23bfaa53b31b495b5777e1d2f912827e6a8de03f1985438 |
Commit history 0
No commits in the history this site was built from.