No project description provided
Project description
hodgepodge
A hodgepodge of hopefully helpful helper code
Features
- Search for files and directories;
- Hash files;
- Pack files into ZIP archives;
- Perform pattern matching using regular expressions or UNIX-style glob patterns;
- Compress and decompress objects;
- Parse dates and times;
- Read STIX 2.0 objects from local files, directories, or TAXII servers 🚖🚦;
- Make the outputs from your tools more human-readable (e.g., by pretty-printing dates, file sizes, timestamps, and durations, joining lists with an Oxford comma); 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.7.tar.gz
(16.0 kB
view hashes)
Built Distribution
hodgepodge-0.1.7-py3-none-any.whl
(21.0 kB
view hashes)
Close
Hashes for hodgepodge-0.1.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d27c1f4044eb1f58a777a9f8c7e38cd471b320fb8c6dfb3dc102ece7d5a59ef |
|
MD5 | e1584374919f2af36cf979f954355f0a |
|
BLAKE2b-256 | 8afeb97591f8e56090a1a1607bc3476cad1678f41df598ef65aee8627de98518 |