Skip to main content

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 details)

Uploaded Source

Built Distribution

malib-0.1.1-py3-none-any.whl (1.6 kB view details)

Uploaded Python 3

File details

Details for the file malib-0.1.1.tar.gz.

File metadata

  • Download URL: malib-0.1.1.tar.gz
  • Upload date:
  • Size: 1.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.1 CPython/3.8.8 Darwin/21.6.0

File hashes

Hashes for malib-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ee14950b1f022be2d6f7ca147e92f7fb3c2b299ca3e74975d5cb50be8c9f63e9
MD5 6f8d0e3fb867a154207070d97b9f4f05
BLAKE2b-256 b332849e7014f4a266c9db280d985557ee3f39e3f798ea1385432afdd8e17ac0

See more details on using hashes here.

File details

Details for the file malib-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: malib-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 1.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.1 CPython/3.8.8 Darwin/21.6.0

File hashes

Hashes for malib-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5580e8f5fdd602f9557510679049f7a2110293a011c7c3e0336c7d971c1b7d31
MD5 29d9de7a1a691ac62b731d9a913fd51b
BLAKE2b-256 28c21077cb99c7d54eb8026a2b007f76f7145b9b458ac81313fe941d19c6a504

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page