Skip to main content

Library of miscellaneous common python utils that aren't worthy of their own dedicated libs.

Project description

KvCommon Python Utils

Library of miscellaneous common python utils that aren't worthy of their own dedicated libs.

This library isn't likely to be useful to anyone else; it's just a convenience to save me from copy/pasting between various projects I work on.

Configuration & Env Vars

Env Var Default Description
KVC_LOG_FORMAT "%(asctime)s - [%(levelname)s] - %(name)s - %(message)s" Sets log format for internal logger
KVC_LOG_DATEFMT "%Y-%m-%d %H:%M:%S" Sets log datetime format for internal logger

Packages/Modules

Package Description Example Usage
datastore An abstraction for a simple dictionary-based key-value datastore with support for schema versions and files as 'backends' (TOML, YAML, etc.) #TODO
k8s Utils to reduce boilerplate when working with Kubernetes in Python #TODO
logger Boilerplate wrapper to get logger with formatting from kvcommon import logger as LOG; LOG.get_logger("logger_name")
misc Obligatory 'misc'
types Miscellaneous utils for either converting types or type-hinting from kvcommon import types; types.to_bool("false")

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

kvcommon-0.1.0.tar.gz (7.5 kB view hashes)

Uploaded Source

Built Distribution

kvcommon-0.1.0-py3-none-any.whl (9.6 kB view hashes)

Uploaded Python 3

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