Convert pip-audit JSON reports into readable HTML reports
Project description
pip-audit-html
Convert pip-audit JSON output into a standalone, readable HTML report.
Why this package
- Easy CLI for local use and CI pipelines
- No runtime dependencies
- Generates a single HTML file you can archive or share
Installation
From PyPI (after publish):
pip install pip-audit-html
From source during development:
pip install -e .[dev]
CLI usage
Generate a report from file:
pip-audit-html pip-audit-report.json -o reports/security-report.html
Pipe input from stdin:
pip-audit --format json | pip-audit-html - -o reports/security-report.html
Set custom title and fail build if vulnerabilities exist:
pip-audit-html pip-audit-report.json -o report.html --title "Weekly Dependency Security" --fail-on-vulns
You can also run it as a module:
python -m pip_audit_html pip-audit-report.json -o report.html
Local development
Use existing helper scripts:
- Create environment (
001_env.bator001_env.sh) - Activate environment (
002_activate.bator002_activate.sh) - Install package/dev deps (
003_setup.bator003_setup.sh) - Run CLI help (
004_run.bator004_run.sh) - Run tests (
005_run_test.bator005_run_test.sh)
Publish to PyPI
- Update
versioninpyproject.toml. - Build distributions:
python -m pip install --upgrade build twine
python -m build
- Validate artifacts:
python -m twine check dist/*
- Upload:
python -m twine upload dist/*
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pip_audit_html-0.1.1.tar.gz.
File metadata
- Download URL: pip_audit_html-0.1.1.tar.gz
- Upload date:
- Size: 10.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8c978e7300bac3d43cac252ef329c75721a1df566be2f1ff43863e6a089de0f8
|
|
| MD5 |
27230fb9a059e809d9fd4a54fa9be608
|
|
| BLAKE2b-256 |
596d810b7a833870f4813482f046f2beadf576e4decbd30f12d3bbbb7d3d8de4
|
Provenance
The following attestation bundles were made for pip_audit_html-0.1.1.tar.gz:
Publisher:
workflow.yml on ShanKonduruCoforge/pip-audit-html
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pip_audit_html-0.1.1.tar.gz -
Subject digest:
8c978e7300bac3d43cac252ef329c75721a1df566be2f1ff43863e6a089de0f8 - Sigstore transparency entry: 1356999184
- Sigstore integration time:
-
Permalink:
ShanKonduruCoforge/pip-audit-html@1f939a783e3c48643bef33174d73f17865208a2b -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/ShanKonduruCoforge
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
workflow.yml@1f939a783e3c48643bef33174d73f17865208a2b -
Trigger Event:
push
-
Statement type:
File details
Details for the file pip_audit_html-0.1.1-py3-none-any.whl.
File metadata
- Download URL: pip_audit_html-0.1.1-py3-none-any.whl
- Upload date:
- Size: 9.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1a3b0fb24e61d3348d0ad5ad0ff5dc17015e27e25a2ea2efed2fc1f623f8e4b8
|
|
| MD5 |
d45cf0149dfc92495586c699aae51992
|
|
| BLAKE2b-256 |
df2d273e6851ac34a238e5769e6ba12fd30010f9f29539647914b7e17965b7d3
|
Provenance
The following attestation bundles were made for pip_audit_html-0.1.1-py3-none-any.whl:
Publisher:
workflow.yml on ShanKonduruCoforge/pip-audit-html
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pip_audit_html-0.1.1-py3-none-any.whl -
Subject digest:
1a3b0fb24e61d3348d0ad5ad0ff5dc17015e27e25a2ea2efed2fc1f623f8e4b8 - Sigstore transparency entry: 1356999198
- Sigstore integration time:
-
Permalink:
ShanKonduruCoforge/pip-audit-html@1f939a783e3c48643bef33174d73f17865208a2b -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/ShanKonduruCoforge
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
workflow.yml@1f939a783e3c48643bef33174d73f17865208a2b -
Trigger Event:
push
-
Statement type: