Collection of useful helper functions for datetime, print, string formatting, directory and file handling, and more
Some useful functions and usability that should be shared between your apps.
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.
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
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).
See the Changelog.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size utilkit-0.4.1.zip (11.4 kB)||File type Source||Python version None||Upload date||Hashes View|