utool - Useful utilities and the kitchen sink
Project description
Useful Utility Tools For You! - Part of the WildMe / Wildbook IA Project.
Notice: This is a “kitchen sink” library. While it is still somewhat maintained, it should be considered “end-of-life”. Please see https://github.com/Erotemic/ubelt and https://github.com/Erotemic/xdevfor a well-maintained curated collection of utilities.
The utool library is a collection of tools that I’ve found useful. I’ve written most of them from scratch, but there are a few I’ve taken or partially taken from StackOverflow. References are given in most locations.
In my experience the most useful functions in this library are:
utool.flatten
utool.take
utool.take_column
utool.compress
utool.ichunks
utool.itertwo
utool.isiterable
utool.group_items
utool.dict_subset
utool.dict_hist
utool.map_dict_vals
utool.map_dict_keys
utool.memoize
utool.get_argflag
utool.get_argval
utool.ProgIter
utool.Timer
utool.Timerit
utool.MemoryTracker
utool.InteractiveIter
utool.color_print
utool.ensuredir
utool.glob
utool.grep
utool.sed
utool.ls
utool.repr2
Installation
Installation can now be done via pypi
pip install wbia-utool
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 Distribution
Built Distribution
File details
Details for the file wbia-utool-4.0.5.tar.gz
.
File metadata
- Download URL: wbia-utool-4.0.5.tar.gz
- Upload date:
- Size: 4.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f3a1e9ac2cb9015a70b98bdc08e66882971969d4bdff726d940844daa1276be |
|
MD5 | 8856bafbd506ae2260ba8c935bc325db |
|
BLAKE2b-256 | fc02a9bf934da522fc3bf22f6875f5e9657904d6cc70fd5c93491c4744b69351 |
File details
Details for the file wbia_utool-4.0.5-py3-none-any.whl
.
File metadata
- Download URL: wbia_utool-4.0.5-py3-none-any.whl
- Upload date:
- Size: 581.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f3160c3e07493b25384862bb48b1314068b59dbc554dda2ede06e07c82d76ac |
|
MD5 | fe393b3eb477359aca173f6d3ec0482d |
|
BLAKE2b-256 | f24ffff72424b536d1011a68f751dd879da03a96aa863cfface647a4e3945dc7 |