The kwutil Module
Read the docs |
|
Gitlab (main) |
|
Github (mirror) |
|
Pypi |
The Kitware utility module.
This module is for small, pure-python utility functions. Dependencies are allowed, but they must be small and highly standard packages (e.g. rich, psutil, ruamel.yaml).
These were originally derived from geowatch utilities. Some of them were also from xdev.
In the case that a no-dependency utility in this library proves itself to be extremely useful, it may be ported to ubelt.
Current top-level API:
from kwutil import copy_manager
from kwutil import fsops_managers
from kwutil import partial_format
from kwutil import process_context
from kwutil import slugify_ext
from kwutil import util_environ
from kwutil import util_eval
from kwutil import util_exception
from kwutil import util_hardware
from kwutil import util_json
from kwutil import util_locks
from kwutil import util_parallel
from kwutil import util_path
from kwutil import util_pattern
from kwutil import util_progress
from kwutil import util_random
from kwutil import util_resources
from kwutil import util_time
from kwutil import util_units
from kwutil import util_windows
from kwutil import util_xml
from kwutil import util_yaml
from kwutil.fsops_managers import (CopyManager, MoveManager, DeleteManager,)
from kwutil.process_context import (ProcessContext,)
from kwutil.util_environ import (envflag,)
from kwutil.util_eval import (safeeval,)
from kwutil.util_hardware import (Hardware,)
from kwutil.util_json import (Json,)
from kwutil.util_locks import (Superlock,)
from kwutil.util_parallel import (coerce_num_workers,)
from kwutil.util_pattern import (Pattern, MultiPattern,)
from kwutil.util_progress import (ProgressManager,)
from kwutil.util_random import (ensure_rng,)
from kwutil.util_time import (datetime, timedelta,)
from kwutil.util_yaml import (Yaml,)
from kwutil.util_xml import (XML,)
__all__ = ['CopyManager', 'DeleteManager', 'Hardware', 'Json', 'MoveManager',
'MultiPattern', 'Pattern', 'ProcessContext', 'ProgressManager',
'Superlock', 'XML', 'Yaml', 'coerce_num_workers', 'copy_manager',
'datetime', 'ensure_rng', 'envflag', 'fsops_managers',
'partial_format', 'process_context', 'safeeval', 'slugify_ext',
'timedelta', 'util_environ', 'util_eval', 'util_exception',
'util_hardware', 'util_json', 'util_locks', 'util_parallel',
'util_path', 'util_pattern', 'util_progress', 'util_random',
'util_resources', 'util_time', 'util_units', 'util_windows',
'util_xml', 'util_yaml']
Metadata
Release files for kwutil 0.3.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| kwutil-0.3.8.tar.gz | 106.0 kB | Without provenance | Details for kwutil-0.3.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kwutil-0.3.8-py3-none-any.whl | Python 3 | none | any | Details for kwutil-0.3.8-py3-none-any.whl |
Total release size: 219.4 kB
Release files / kwutil-0.3.8.tar.gz
| Download URL | kwutil-0.3.8.tar.gz |
|---|---|
| Size | 106.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
109fad1a26a22213820391e8edbd8cff25e3d2cd70193c1fb25ac418d30a42b5
|
|
BLAKE2b-256 checksum How to use checksums |
08a31f20ad013a9bc876d39cd9eac404247bcbf28333868281d0a6c8f7257176
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / kwutil-0.3.8-py3-none-any.whl
| Download URL | kwutil-0.3.8-py3-none-any.whl |
|---|---|
| Size | 113.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a16d022bca86d65dc865129e8491408529dac7b024f78e158257515293003da9
|
|
BLAKE2b-256 checksum How to use checksums |
2f56336eb05a614ffd1bc741a4a3ee91de1a79abacbff4564b97f25e4bce1721
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Security for kwutil 0.3.8
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.