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
asynchronous Various utils for easing use of asyncio stuff + a coroutine/thread-based async job scheduler #TODO
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 from kvcommon.k8s import K8sAppsClient; K8sAppsClient().rollout_restart_deployment("some_namespace", "some_name")
logger Boilerplate wrapper to get logger with formatting from kvcommon import logger as LOG; LOG.get_logger("logger_name")
misc Obligatory 'misc'
types 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 urls; urls.urlparse_ignore_scheme("github.com")

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.10.tar.gz (31.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kvcommon-0.4.10-py3-none-any.whl (49.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for kvcommon-0.4.10.tar.gz
Algorithm Hash digest
SHA256 7572fb2ae0ebe21526cb944d9221dcf0bb6c4e8301b1f41f44cbca98a6c0784d
MD5 16ce34b4ea8a0d63c1ef3426027d4a7d
BLAKE2b-256 9aaecc8f3ae028c4cb1c4cec4496b4e6397bdfa03f4e1f0f011aaf769337ee8d

See more details on using hashes here.

Provenance

The following attestation bundles were made for kvcommon-0.4.10.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.10-py3-none-any.whl.

File metadata

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

File hashes

Hashes for kvcommon-0.4.10-py3-none-any.whl
Algorithm Hash digest
SHA256 7b6600443436c586cba988af236dc64256e3e4582b2b801a0fa51e60d5c530e3
MD5 4dbc20f0d5e8c4d07f49a63d73d827c9
BLAKE2b-256 24e4b847047cf02bbbbcb29d484c6bb1412db8ba3ab6b6cd4f3e9c37d5dd6319

See more details on using hashes here.

Provenance

The following attestation bundles were made for kvcommon-0.4.10-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 Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page