Hew (Python implementation)
The Hew changelog specification reference implementation for the Python language.
Getting Started
Pending release to distribution channels like PyPi, you may run the program locally with uv.
A nix devshell is present if you'd prefer to enter that managed environment with nix develop ..
Without nix, you will also need to obtain and install Pandoc to use the formatting translation features of hew.
Usage
hew Python supports two primary modes of operation: as a native library and as a command-line utility.
CLI
Use the executable command line interface if you'd like to use the Python program as a utility and work primarily with the output of the parsing results, usually JSON.
uv run hew --help
Consult the help text to learn about supported flags and their effects.
Library
After installing hew into a Python environment, instantiate the Hewer class with the necessary constructor arguments:
Hewer(...)
Validation
Clone with the submodule and use its spec/repo-gen.sh script along with the sibling repo-spec.json file to generate a sample repository with Hew-compliant changelogs and compare the results with the expected JSON results.
The ./scripts/validate.py file is available to facilitate this process.
uv run python scripts/validate.py spec/repo-gen.sh spec/repo-spec.json
This will:
- Invoke
repo-gen.shin a temporary directory - Run Hew inside the directory to generate a changelog manifest
- Compare it (excluding unique fields like timestamps) against the given specification JSON
- Ensure the results match the specification
Metadata
Release files for hew 0.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| hew-0.6.0.tar.gz | 28.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| hew-0.6.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 51.9 kB
Release files / hew-0.6.0.tar.gz
| Download URL | hew-0.6.0.tar.gz |
|---|---|
| Size | 28.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
df1bca22e719f19d96c11336d6a7a72fd93123401eca7b56e5739baa01832d66
|
|
BLAKE2b-256 checksum How to use checksums |
214a150f372f546ae3fffa289fc396d4f86ef56897711be4b35e9cbe759a03e4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.23
|
Release files / hew-0.6.0-py3-none-any.whl
| Download URL | hew-0.6.0-py3-none-any.whl |
|---|---|
| Size | 23.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8e36b4a04cc83db568b9296e93a08be085ed7f6d4cdb2b18a6ccb62d2cf225d0
|
|
BLAKE2b-256 checksum How to use checksums |
ccc8df60d987b5975499f5a9350cf84cb1b285de3079e593451f04a6fa9b85f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.23
|
Security for hew 0.6.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.