History#

0.6.0 (2024-02-29)#

  • Add bucket param to specify bucket name when not using per-host rate limiting

0.5.1 (2023-01-29)#

  • Fix simplifying fractional rate below specified interval

0.5.0 (2023-01-29)#

  • Add support for floating point values for rate limits

0.4.2 (2023-09-27)#

  • Update conda-forge package to restrict pyrate-limiter to <3.0

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 backend

  • Import 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 exceeded

  • Forward any valid superclass keyword args for LimiterAdapter, or if LimiterMixin 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 superclass

  • Add API docs, Readme intro + examples, and Sphinx config for readthedocs.io

0.1.0 (2021-09-04)#

Initial PyPI release