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") |
Release files for kvcommon 0.4.15
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| kvcommon-0.4.15.tar.gz | 31.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| kvcommon-0.4.15-py3-none-any.whl | Python 3 | none | any | Details |
Total release size:82.6 kB
Release files / kvcommon-0.4.15.tar.gz
| Download URL | kvcommon-0.4.15.tar.gz |
|---|---|
| Size | 31.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
18b85f677f58906180c17ffd890f4f67194b68b1c2d319db5fcb48343f01dca5
|
|
BLAKE2b-256 checksum How to use checksums |
c0e1a4dca65d862f070c1206a2223ea6058d0a323d30bd764496e13c23393918
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 7, 2026.
Transparency logRelease files / kvcommon-0.4.15-py3-none-any.whl
| Download URL | kvcommon-0.4.15-py3-none-any.whl |
|---|---|
| Size | 50.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8737c89b933e79b108122cdd822cd2af7b84715abf0d872057dd93be57a31886
|
|
BLAKE2b-256 checksum How to use checksums |
0c6de1319638e3e6509f638f2a370bc6ad744c95e5af052beefdac060428b1ac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 7, 2026.
Transparency log