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-0.6.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-0.6.0-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hcgatewood_coda-0.6.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-0.6.0.tar.gz
Algorithm Hash digest
SHA256 a20dfbbf605fed04ac100a310364c5d2193a179f8d960635b5d2cde99c8cdacf
MD5 7b63cc81ff20d5cad1ef0321b5aa2906
BLAKE2b-256 e7f7d8d7447c7592fb9eed153d127b12af1877e3293452c5bb86024c8497bd31

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hcgatewood_coda-0.6.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-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ea269c6b70e1c5895a889fc2f7199d089c86fb399d67830b827e2ecb76fb87dc
MD5 d6a9161e741176f6e20379dc3c08f10d
BLAKE2b-256 bf76b77fbc2a5a59fd1950c8751627029aaac1f0a42e797bd773becaf1dcba63

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