./devel/py-limits, Rate limiting utilities

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 3.13.0, Package name: py312-limits-3.13.0, Maintainer: pkgsrc-users

The python limits package provides utilities to implement rate limiting using
various strategies and storage backends such as redis & memcached.


Required to run:
[devel/py-setuptools] [lang/py-six] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 68.572 KB

Version history: (Expand)


CVS history: (Expand)


   2024-04-21 20:17:28 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-limits: updated to 3.11.0

v3.11.0

* Compatibility
  * Add support for python 3.12
   2024-03-21 11:05:19 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-limits: updated to 3.10.1

v3.10.1
-------
* Compatibility

  * Relax dependency constraint on packaging

v3.10.0
-------
* Bug Fix

  * Fix incorrect mapping of coredis exceptions
  * Fix calculation of reset_time
   2024-02-19 19:39:44 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-limits: updated to 3.9.0

v3.9.0

* Bug Fix

  * Remove excessively low defaults for mongodb storage and instead
    delegate to the underlying dependency (pymongo, motor)
   2024-02-16 20:04:01 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-limits: updated to 3.8.0

v3.8.0
------

* Features

  * Add option to wrap storage errors with a ``StorageError``
    exception
   2023-11-26 10:55:40 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-limits: updated to 3.7.0

v3.7.0

* Features

  * Ensure rate limit keys in redis use are prefixed
    with a `LIMITS` prefix. This allows for resetting
    all keys generated by the library without implicit
    knowledge of the key structure.
   2023-10-29 18:16:52 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-limits: updated to 3.6.0

v3.6.0

* Bug Fix

  * Remove default socket timeout from mongo storage
  * Ensure _version.py has stable content when generated
    using `git archive` from a tag regardless of when it is
    run.

* Compatibility

  * Remove references to python 3.7
  * Remove unnecessary setuptools dependency
   2023-08-29 09:38:04 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-limits: updated to 3.5.0

v3.5.0
------
* Bug Fix

  * Handle ``cost`` > 8000 when using redis
  * Remove arbitrary default timeout for redis+sentinel

v3.4.0
------
* Bug Fix

  * Remove use of weakreferences to storages in strategy
    classes as this was not documented or required and
    led to usability issues.

* Chores

  * Update documentation dependencies
  * Remove unused gcra lua script

v3.3.1
------
* Compatibility

  * Block incompatible versions of redis-py

* Chores

  * Force error on warnings in tests

v3.3.0
------
* Compatibility

  * Remove deprecated use of `pkg_resources` and switch
    to `importlib_resource`

* Chores

  * Update documentation dependencies
  * Update github actions versions

v3.2.0
------
* Bug Fix

  * Fix handling of authentication details in storage url of redis cluster

* Chores

  * Add test coverage for redis cluster with auth required

v3.1.6
------
* Bug Fix

  * Disallow acquiring amounts > limit in moving window

* Usability

  * Use a named tuple for the response from `RateLimiter.get_window_stats`

v3.1.5
------
* Performance

  * Reduce rpc calls to etcd for counter increment

* Compatibility

  * Relax version requirements for packaging dependency

* Chores

  * Improve benchmark outputs
  * Improve documentation for etcd

v3.1.4
------
* Chores

  * Fix benchmark result artifact capture

v3.1.3
------
* Chores

  * Fix benchmark result artifact capture

v3.1.2
------
* Chores

  * Collapse benchmark & ci workflows

v3.1.1
------
* Chores

  * Fix compatibility tests for etcd in CI
  * Improve visual identifiers of tests
  * Add benchmark tests in CI

v3.1.0
------
* Compatibility

  * Increase minimum version of pymongo to 4.1

* Chores

  * Refactor storage tests
  * Improve test coverage across python versions in CI

v3.0.0
------
* Features

  * Added etcd storage support for fixed window strategies

* Compatibility

  * Removed deprecated GAE Memcached storage
  * Updated minimum dependencies for mongodb
  * Updated dependency for async memcached on python 3.11
   2022-12-12 08:53:33 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-limits: updated to 2.7.2

v2.7.2
------
* Compatibility Updates
  * Update documentation dependencies
  * Relax version constraint for packaging dependency
  * Bump CI to use python 3.11 final