Collection of useful helper functions for datetime, print, string formatting, directory and file handling, and more
Project description
Some useful functions and usability that should be shared between your apps.
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.
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
File details
Details for the file utilkit-0.4.1.zip
.
File metadata
- Download URL: utilkit-0.4.1.zip
- Upload date:
- Size: 11.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48808b5e1d90661e4cfbd5113be37feab4b6a0d66a9da79af8479d280f14148a |
|
MD5 | baef9aaf4f678a1f1fe3afa5f0f3e5db |
|
BLAKE2b-256 | f0fda85fce35b2a40a333c6339826878f5508f9bbd6418355e0eddfcf05e200b |