How to Install and Uninstall python3-token-bucket Package on Kali Linux

Last updated: May 17,2024

1. Install "python3-token-bucket" package

Please follow the steps below to install python3-token-bucket on Kali Linux

$ sudo apt update $ sudo apt install python3-token-bucket

2. Uninstall "python3-token-bucket" package

Please follow the guidelines below to uninstall python3-token-bucket on Kali Linux:

$ sudo apt remove python3-token-bucket $ sudo apt autoclean && sudo apt autoremove

3. Information about the python3-token-bucket package on Kali Linux

Package: python3-token-bucket
Source: token-bucket
Version: 0.3.0-0kali1
Architecture: all
Maintainer: Kali Developers
Installed-Size: 40
Depends: python3:any
Homepage: https://github.com/falconry/token-bucket
Priority: optional
Section: python
Filename: pool/main/t/token-bucket/python3-token-bucket_0.3.0-0kali1_all.deb
Size: 8068
SHA256: 4b0ed560d180656c13986ee78cab49e7b12972d677899468e1c0e1cf9b415f97
SHA1: 35eba95a66e4013fdea9cdc2cac8a867e3024bef
MD5sum: 07de4045fa61397a6d75f039824aba62
Description: Token Bucket Implementation for Python Web Apps (Python 3)
This package contains an implementation of the token bucket algorithm suitable
for use in web applications for shaping or policing request rates. This
implementation does not require the use of an independent timer thread to
manage the bucket state.
.
Compared to other rate-limiting algorithms that use a simple counter, the token
bucket algorithm provides the following advantages:
.
The thundering herd problem is avoided since bucket capacity is replenished
gradually, rather than being immediately refilled at the beginning of each
epoch as is common with simple fixed window counters.
Burst duration can be explicitly controlled.
.
Moving window algorithms are resistant to bursting, but at the cost of
additional processing and memory overhead vs. the token bucket algorithm which
uses a simple, fast counter per key. The latter approach does allow for
bursting, but only for a controlled duration.
.
This package installs the library for Python 3.
Description-md5: