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
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 hashes)