Skip to main content

hodgepodge

A hodgepodge of hopefully helpful helper code

These are a few of my favourite functions

FAQ

What can it do?

  • Search for files and directories;
  • Hash files;
  • Pack files into archives;
  • Perform pattern matching;
  • 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; and
  • ✨ More ✨.

Supported hash algorithms:

  • MD5
  • SHA-1
  • SHA-256
  • SHA-512

Supported archive formats:

  • ZIP

Supported compression algorithms:

  • GZIP

Installation

To install hodgepodge using pip:

$ pip install hodgepodge

To install hodgepodge from source (requires poetry):

$ git clone git@github.com:whitfieldsdad/hodgepodge.git
$ cd hodgepodge
$ make install

To install hodgepodge from source using setup.py (i.e. if you're not using poetry):

$ git clone git@github.com:whitfieldsdad/hodgepodge.git
$ cd hodgepodge
$ python3 setup.py install

Testing

You can run the unit tests for this package as follows:

$ make test

A code coverage report will automatically be written to: htmlcov/index.html.

On Linux systems, you can use xdg-open to open this file using the system's default web browser:

$ xdg-open htmlcov/index.html

Metadata

Release files for hodgepodge 4.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hodgepodge 4.0.0
File Size Uploaded Provenance Actions
hodgepodge-4.0.0.tar.gz 17.5 kB Without provenance Details for hodgepodge-4.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hodgepodge 4.0.0
File Interpreter ABI Platform Actions
hodgepodge-4.0.0-py3-none-any.whl Python 3 none any Details for hodgepodge-4.0.0-py3-none-any.whl

Total release size: 40.7 kB

Release files / hodgepodge-4.0.0.tar.gz

Download URL hodgepodge-4.0.0.tar.gz
Size 17.5 kB
Tags Source
SHA-256 checksum
How to use checksums
f66f61e940361170112fb42d92a0584ed80681b4610d4154c61f9f20dabfd67a
BLAKE2b-256 checksum
How to use checksums
b21f76f939dd6e4bbe54df8603fc0ec5ff039e454cd7ed9fd0f1b03a67481aa3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.10.2 Darwin/20.6.0

Release files / hodgepodge-4.0.0-py3-none-any.whl

Download URL hodgepodge-4.0.0-py3-none-any.whl
Size 23.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
da68877c4a6fcd8155b2c927081146705dfece1c87c31cecc73029314b9f71e8
BLAKE2b-256 checksum
How to use checksums
9e586117530b6d973de0cae64011b54657b2deb0adbf4170903ea9b2140d10f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.10.2 Darwin/20.6.0

Security for hodgepodge 4.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

4.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page