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 libraries yet. Some of these packages will be moved out to their own libs later.

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 and GKE 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.4.1.tar.gz (17.9 kB view details)

Uploaded Source

Built Distribution

kvcommon-0.4.1-py3-none-any.whl (29.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kvcommon-0.4.1.tar.gz
  • Upload date:
  • Size: 17.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for kvcommon-0.4.1.tar.gz
Algorithm Hash digest
SHA256 687d1e7fa52ccc9a81016d895d2a57ecb20359f7686a1905d5983b79d6c27b06
MD5 f963cf2bb6e2199e72874655e4cf05eb
BLAKE2b-256 f399f0e8a24db4ed81572da0fc6dd3bcfe62c37e63561e561d72ed4527b96832

See more details on using hashes here.

Provenance

The following attestation bundles were made for kvcommon-0.4.1.tar.gz:

Publisher: publish.yml on RAVoigt/kvcommon

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: kvcommon-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 29.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for kvcommon-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a329ee80628ce4590a2c0def2ef6d2f0f6e01ab3ec4de8e355fb45a390d70516
MD5 207910a71e0bc3dbae7c5febdd82cc84
BLAKE2b-256 143c6e6c40dc0dc20dc9bfdcab7a552b71e394a7aff5ad32293e1e1ac709d36a

See more details on using hashes here.

Provenance

The following attestation bundles were made for kvcommon-0.4.1-py3-none-any.whl:

Publisher: publish.yml on RAVoigt/kvcommon

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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