BSD Ports

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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.1.100.1.10--0.1.10
FreeBSD:14:quarterly0.1.100.1.10n/a-0.1.10
FreeBSD:15:latest0.1.100.1.10n/a--
FreeBSD:15:quarterly0.1.100.1.10n/an/an/a
FreeBSD:16:latest0.1.100.1.10n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Runtime 3

Test 4

The full lists below include those, and their dependencies in turn.

Build dependencies 15
Run dependencies 36
Required by 1

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
laurents-slowapi-v0.1.10_GH0.tar.gz57663bb257f8c2df497aca23bfaa53b31b495b5777e1d2f912827e6a8de03f1985438

Commit history 0

No commits in the history this site was built from.