Skip to main content

Useful utilities and the kitchen sink

Project description

ReadTheDocs Pypi Downloads Codecov CircleCI Travis Appveyor

utool

Useful Utility Tools For You!

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:

  • ut.flatten

  • ut.take

  • ut.take_column

  • ut.compress

  • ut.ichunks

  • ut.itertwo

  • ut.isiterable

  • ut.group_items

  • ut.dict_subset

  • ut.dict_hist

  • ut.map_dict_vals

  • ut.map_dict_keys

  • ut.memoize

  • ut.get_argflag

  • ut.get_argval

  • ut.ProgIter

  • ut.Timer

  • ut.Timerit

  • ut.MemoryTracker

  • ut.InteractiveIter

  • ut.color_print

  • ut.ensuredir

  • ut.glob

  • ut.grep

  • ut.sed

  • ut.ls

  • ut.repr2

Warning: This module does contain personalized functions that help glue together my projects. Over time these will be removed. While many of the functions in this repo are mature, the repo itself is a work in progress. Some functions may be broken, deprecated, unfinished, or undocumented. Thus, some APIs may refactored or removed in the future.

Documenation

http://erotemic.github.io/utool

Installation

Installation can now be done via pypi

pip install utool

If the pypi release is currently broken. Installing utool can be done via pip and github. Generally the next branch has the latest and greatest.

pip install git+https://github.com/Erotemic/utool.git@next

Utool is released under the Apache License Version 2.0

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

utool-2.1.2.tar.gz (507.1 kB view details)

Uploaded Source

Built Distribution

utool-2.1.2-py2.py3-none-any.whl (551.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file utool-2.1.2.tar.gz.

File metadata

  • Download URL: utool-2.1.2.tar.gz
  • Upload date:
  • Size: 507.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for utool-2.1.2.tar.gz
Algorithm Hash digest
SHA256 0f9ea77d2cbf4d1e1dffe4194fad893a06f1ca52a3d7d182a30aa29a96c0e275
MD5 b7cf92326a60908d6f11ee722cb7453b
BLAKE2b-256 62dd051942da9a00c481648c030042fef4fc2452cfc6e215ddd7f8397bcfd4c4

See more details on using hashes here.

File details

Details for the file utool-2.1.2-py2.py3-none-any.whl.

File metadata

  • Download URL: utool-2.1.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 551.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for utool-2.1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 654f23239e24edd6e9249b9bcca938a2cf2d3764eb4a0b59ed6755b563ef3b7c
MD5 e8039faaf448ca7ec669f918fc1fda7d
BLAKE2b-256 20ede3d0c173c5a3a014905ff4f91c050d66d808fabb1cfb6cae9727c2638b15

See more details on using hashes here.

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