NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #4027 most downloaded on PyPI
Very fast implementation of the token bucket algorithm.
Last release 3 months ago
12 Jun 2026
Ships on a steady schedule
a new release about every 4.7 years
Some releases are documented
notes for 2 of 4 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
8 releases · first in 2017
It's been a long time coming... But we are happy to present a new version of token-bucket, 0.4.0!
It's been a long time coming... But we are happy to present a new version of token-bucket, 0.4.0!
This release drops support for EoL Python versions (3.10+ is now required), as well as brings revamped packaging, code formatting, and even complete type annotations!
We would also like to thank @tonnico who submitted pull requests for similar cleanup, even though in the end we went ahead with our flavour of refactoring aligned with other Falconry projects.
Grab token-bucket==0.4.0 from PyPI while it's hot!
pip install token-bucket==0.4.0
Thank you!
A rehearsal before the 0.4.0 release.
A rehearsal before the 0.4.0 release.
One column per quarter.
The 0.3.0 release drops support for Python < 3.5, as well as brings a revamped CI using GitHub Actions.
The 0.3.0 release drops support for Python < 3.5, as well as brings a revamped CI using GitHub Actions.
Improvements and fixes:
Thanks @xrmx and @anentropic for the above contributions!
Looking forward, we are planning to fully decouple storage from the token bucket algorithm, as proposed in https://github.com/falconry/token-bucket/pull/10.
Also on the radar is investigating how support for async web applications could look like.
This release candidate addresses stale (released from an outdated fork) packages released as 0.3.0rc1.
This release candidate addresses stale (released from an outdated fork) packages released as 0.3.0rc1.
The 0.3.0 release drops support for Python < 3.5, as well as brings revamped CI.
The 0.3.0 release drops support for Python < 3.5, as well as brings revamped CI.
Improvements and fixes:
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →