History#
0.4.1 (2023-07-24)#
Add support for python 3.12
0.4.0 (2022-09-27)#
Drop support for python 3.6
Add support for python 3.11
Remove upper version constraint for
requests
0.3.2 (2022-05-09)#
Default to not using monotonic time if using a persistent backend (SQLite or Redis)
0.3.1 (2022-04-06)#
Fix 429 response handling: if multiple rate limits are defined, fill bucket according to smallest rate limit
Default to not passing
bucket_name
argument to backendImport main
pyrate_limiter
classes into top-level package
0.3.0 (2022-04-06)#
Add handling for 429 responses
Add
limit_statuses
argument to define additional status codes that indicate a rate limit has been exceededForward any valid superclass keyword args for
LimiterAdapter
, or ifLimiterMixin
is used to create a custom class
0.2.1 (2021-09-05)#
Add shortcut arguments for most common rate limit intervals (
per_second
, etc.)Add
max_delay
option to specify maximum delay time before raising an error
0.2.0 (2021-09-04)#
Make
rates
a non-variable argument so it can work with a mixin superclassAdd API docs, Readme intro + examples, and Sphinx config for readthedocs.io
0.1.0 (2021-09-04)#
Initial PyPI release