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
    • getenv_int get env variable and coerce to int
  • 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.1.tar.gz (3.8 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.1-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hcgatewood_coda-1.0.1.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.12 Darwin/25.3.0

File hashes

Hashes for hcgatewood_coda-1.0.1.tar.gz
Algorithm Hash digest
SHA256 e5b4926330dfd2dd13b34cfc5905f9a5ef503137b159eef5f900cb90b22bb48c
MD5 1b4d9667af10f6e9626474a4856a8344
BLAKE2b-256 1258d8fa17a8c0a720f9810adde46ec3799208a5e9e33c9ecb8d6cd5e4f9e8e4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hcgatewood_coda-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.12 Darwin/25.3.0

File hashes

Hashes for hcgatewood_coda-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 52726aec2097dbe4e4f1e861a39bea3ab0fa0ef94e519d58c940f6704b88ba1c
MD5 9c69296b3a5d8b96eba723e447e12cf7
BLAKE2b-256 d76b04843777803d7f14bfdc0a803ea979227682dc9eff02d4d0c15bba743093

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