No project description provided
Project description
malib
A few utilities that I find useful.
RateLimiter
# call a function at most 10 times per minute
rl = RateLimiter(max_calls=10, period=60)
# call .wait() every time before calling the function
rl.wait()
Testing
pytest
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
malib-0.1.1.tar.gz
(1.3 kB
view hashes)
Built Distribution
malib-0.1.1-py3-none-any.whl
(1.6 kB
view hashes)