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.4.tar.gz
(15.5 kB
view hashes)
Built Distribution
hodgepodge-0.1.4-py3-none-any.whl
(20.6 kB
view hashes)
Close
Hashes for hodgepodge-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 030d223741343d4f3f45e32ac56178a987ab328f75ab1ad3b65401c83948549a |
|
MD5 | f4ff4ed68ca71a2a744cb3bf30298a09 |
|
BLAKE2b-256 | 47c5d95f4f3b3d20a006048a3bc2bf96470f983763486d517ddfd378157f9c03 |