The kwutil module
Project description
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_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_windows
from kwutil import util_yaml
from kwutil.fsops_managers import (CopyManager, MoveManager, DeleteManager,)
from kwutil.util_environ import (envflag,)
from kwutil.util_json import (Json,)
from kwutil.util_parallel import (coerce_num_workers,)
from kwutil.util_progress import (ProgressManager,)
from kwutil.util_time import (datetime, timedelta,)
from kwutil.util_yaml import (Yaml,)
from kwutil.process_context import (ProcessContext,)
__all__ = ['CopyManager', 'DeleteManager', 'Json', 'MoveManager',
'ProcessContext', 'ProgressManager', 'Yaml', 'coerce_num_workers',
'copy_manager', 'datetime', 'envflag', 'fsops_managers',
'partial_format', 'process_context', 'slugify_ext', 'timedelta',
'util_environ', 'util_eval', 'util_exception', 'util_json',
'util_locks', 'util_parallel', 'util_path', 'util_pattern',
'util_progress', 'util_random', 'util_resources', 'util_time',
'util_windows', 'util_yaml']
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
kwutil-0.3.2-py3-none-any.whl
(75.2 kB
view details)
File details
Details for the file kwutil-0.3.2-py3-none-any.whl
.
File metadata
- Download URL: kwutil-0.3.2-py3-none-any.whl
- Upload date:
- Size: 75.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ffd9b79b736b4a2429df3e00747a6eabfd7e2576c5232ca71078a608413fbcd |
|
MD5 | 54f70c76f0cbb611056ff3dcc99d8c3d |
|
BLAKE2b-256 | d3bdd42818e006d0cc2492c9cdf9d1f908421520627096e944b8a82f08a7a6a3 |