utilkit

Collection of useful helper functions for datetime, print, string formatting, directory and file handling, and more


License
MIT
Install
pip install utilkit==0.4.1

Documentation

python-utilkit

Some useful functions and usability that should be shared between your apps.

PyPI version PyPI downloads PyPI license pyversions Code Health

Repo: https://github.com/aquatix/python-utilkit/

Installation

From PyPI

Assuming you already are inside a virtualenv:

pip install utilkit

If you want to use yaml-related functionality (like fileutil.yaml_ordered_load), please also install PyYAML through pip install PyYAML. This is not istalled by default to keep the dependencies limited.

From Git

Create a new virtualenv (if you are not already in one) and install the necessary packages:

git clone https://github.com/aquatix/python-utilkit.git
cd utilkit
mkvirtualenv utilkit # or whatever project you are working on
pip install -r requirements.txt

datetime utils

file utils

print utils

Pretty printing of data, for example the formatting of two-dimensional lists into a table which finds out the correct width of its columns by itself (to_smart_columns).

string utils

What's new?

See the Changelog.