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.

PyPi

https://pypi.org/project/kvcommon/

Installation

With Poetry:

poetry add kvcommon

With pip:

pip install kvcommon

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")
urls Convenience wrappers for URL parsing 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.4.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

kvcommon-0.1.4-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

Details for the file kvcommon-0.1.4.tar.gz.

File metadata

  • Download URL: kvcommon-0.1.4.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.4

File hashes

Hashes for kvcommon-0.1.4.tar.gz
Algorithm Hash digest
SHA256 cc5361ab81620666e2853383e049e79fb62623392774d6bdcbee18accdfb0e43
MD5 be1f7bfa7da672a91003a76777051fb6
BLAKE2b-256 ee41427884c48665da2ca06198702c92e8a6b7cf850e51fb3ed06651bd5091c1

See more details on using hashes here.

File details

Details for the file kvcommon-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: kvcommon-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 9.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.4

File hashes

Hashes for kvcommon-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e4d48628d1c79175477ba3a78dbaf2477f586bed11660e6c6a1915f47b14a52a
MD5 06310f6250c935b32e63ec546c2e2339
BLAKE2b-256 505a1368ac939e39cc8fddf43274c0b023a5310189d16743f0285be8cef03292

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