Freiner provides utilities to implement rate limiting using various strategies and storage backends such as Redis & Memcached.
The French word "freiner" means "to slow down", which is what you'll need to do if you are rate-limited :)
Currently this project supports Python 3.8, 3.9 and 3.10.
Freiner is a fork of a project named limits. I forked it to add type hints, and to resolve several outstanding problems at the time.