Skip to main content

utool - Useful utilities and the kitchen sink

Project description

Build and upload to PyPI (main) Latest PyPI version Documentation on ReadTheDocs

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wbia-utool-4.0.5.tar.gz (4.6 MB view hashes)

Uploaded Source

Built Distribution

wbia_utool-4.0.5-py3-none-any.whl (581.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page