No project description provided
Project description
hodgepodge
A hodgepodge of hopefully helpful helper code
Features
- Search for files;
- Pack files into archives;
- Perform pattern matching;
- Compress and decompress objects;
- Make the outputs from your tools more human-readable (e.g., by pretty-printing dates, file sizes, timestamps, and durations); and
- ✨ Way, way, way more ✨.
Supported hash algorithms:
- MD5
- SHA-1
- SHA-256
- SHA-512
Supported archive formats:
- ZIP
Supported compression algorithms:
- GZIP
Installation
To install from source:
$ git clone git@github.com:whitfieldsdad/hodgepodge.git
$ python3 setup.py install
Tests
You can run the unit tests and measure code coverage at the same time as follows:
$ python3 -m tox
...
Name Stmts Miss Cover
------------------------------------------------------------------
hodgepodge/__init__.py 0 0 100%
hodgepodge/classes.py 12 0 100%
hodgepodge/cli/__init__.py 9 1 89%
...
hodgepodge/types.py 86 46 47%
hodgepodge/uuid.py 3 0 100%
hodgepodge/ux.py 56 6 89%
------------------------------------------------------------------
TOTAL 730 199 73%
py3 run-test: commands[4] | /home/fishet/src/hodgepodge/.tox/py3/bin/python -m coverage html '--omit=.tox/*,tests/*'
_______________________________________ summary _______________________________________
py3: commands succeeded
congratulations :)
A code coverage report will automatically be written to: htmlcov/index.html
whenever you run tox
.
On Linux systems, you can use xdg-open
to open the file using the system's default web browser:
$ xdg-open htmlcov/index.html
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hodgepodge-0.1.5.tar.gz
(15.5 kB
view hashes)
Built Distribution
hodgepodge-0.1.5-py3-none-any.whl
(20.6 kB
view hashes)
Close
Hashes for hodgepodge-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47f4f968578904185853cbba637409599c158a4ae783998660bbfc36c1890e96 |
|
MD5 | 200b4a116c70d5ed5e57aa66991d9e32 |
|
BLAKE2b-256 | 8343955cbf80a3c10f17964e11333efcb197a6f0713ce2899cc3c5a92d9e896b |