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.2.tar.gz
(14.7 kB
view hashes)
Built Distribution
hodgepodge-0.1.2-py3-none-any.whl
(19.1 kB
view hashes)
Close
Hashes for hodgepodge-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d97ac1134278ebd8ffea34eefad4e80d283ba4945fc71b0c40ac0bea6cd6395 |
|
MD5 | e1653f6c7b0fcd47ce2b3d494d498bc6 |
|
BLAKE2b-256 | ee84b58820ce59c6db940ca32d4cae82f80d477af5d4d7bbdafcd2f2576e70fe |