Skip to main content

Personal Lodash-style utility library

Project description

Coda

Coda is a personal Lodash-style utility library.

Installation

pip install hcgatewood_coda

Usage

import coda

Features

  • Env variable loading
    • must_getenv get env variable or raise
    • getenv_bool get env variable and coerce to bool
  • Immutability
    • ConstDict immutable dictionary returning mutable copies of its values
  • Logging
    • set_log_level set log level for root logger based on LOG_LEVEL env variable
  • Rate limiting
    • RateLimiter basic SQLite-backed sliding window rate limiter

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

hcgatewood_coda-1.0.0.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hcgatewood_coda-1.0.0-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file hcgatewood_coda-1.0.0.tar.gz.

File metadata

  • Download URL: hcgatewood_coda-1.0.0.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.10 Darwin/24.6.0

File hashes

Hashes for hcgatewood_coda-1.0.0.tar.gz
Algorithm Hash digest
SHA256 1ba8dcd7cca8a0a1e05cb096968a5955d231d5abf734626c502bcdb5bebb0c87
MD5 08f922e52f6289b2f94bb93bf647a19b
BLAKE2b-256 a1981a2cf9299ae973436109d2a7f1e780ed33d0ac566d6e64b85991e00d03b5

See more details on using hashes here.

File details

Details for the file hcgatewood_coda-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: hcgatewood_coda-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.10 Darwin/24.6.0

File hashes

Hashes for hcgatewood_coda-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ccc71eb53526085c4e33ad0e1fb18537cf9bbafe41029b87c33051c3c471d261
MD5 1923945f3dfe2e46b4fbe256f7c723f5
BLAKE2b-256 ba0da477ac901a4176ba2936c96c68229520aab81fc6a000458ecfd5024180a5

See more details on using hashes here.

Supported by

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