Skip to main content

Hushline Python Core

A standalone, stdlib-only Python implementation of the Hushline command contract. It is one of four independent cores; it imports nothing from the Go, Rust, or Node cores and ships with no third-party runtime dependencies, so it drops into any prompt chain without baggage.

Install

python -m pip install --upgrade hushline
hushline version

The distribution installs two console scripts that share one entry point:

hushline mute -- git status
hushline-python-core version

Command surface

  • hushline mute [--raw] [--pipe-errors=BOOL] [--max-lines N] [--max-width N] [--timeout N] -- <command> ...
  • hushline manifest init [--global|--local]
  • hushline manifest show
  • hushline permit [status|allow] [path]
  • hushline version

Behaviour matches the Go reference core exactly: identical default profile, config merge order, redaction, ANSI stripping, line truncation, and exit codes.

Build locally

cd cores/core-python
python -m pip install --upgrade build twine
python -m build

The built wheel contains the hushline_core package; verify before publishing:

python -c "import zipfile,glob; print(zipfile.ZipFile(glob.glob('dist/*.whl')[0]).namelist())"

Test

cd cores/core-python
python -m pytest --cov=hushline_core --cov-report=term-missing

Publish

A python-core-v* GitHub release triggers the publish-python-core workflow, which builds from cores/core-python and uploads to PyPI using the PYPI_API_TOKEN repository secret.

Metadata

Release files for hushline 0.1.5

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

Source distribution (sdist)

Source distribution for hushline 0.1.5
File Size Uploaded Provenance
hushline-0.1.5.tar.gz 15.1 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 28.1 kB

Release files / hushline-0.1.5.tar.gz

Download URL hushline-0.1.5.tar.gz
Size 15.1 kB
Tags Source
SHA-256 checksum
How to use checksums
accfa75a181a5c90973d42dde24c88a7a13aea9014d65111c1c342a262788dc5
BLAKE2b-256 checksum
How to use checksums
5a7f4ddef8c93312bf89ccbe4c79fce1d62b1265faecadec3a6929a0082f0c6d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release files / hushline-0.1.5-py3-none-any.whl

Download URL hushline-0.1.5-py3-none-any.whl
Size 13.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2c6527ca5ee9a11bb091b6e094f6542d4fb06efe304322a870ac448033dc34e7
BLAKE2b-256 checksum
How to use checksums
b53f80e5734e05c7b6e2a80c0e55829c4f8d74d215614ae38d25d438b872bbe3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Security for hushline 0.1.5

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.

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