Skip to main content

hush-hush-python

ci Codecov PyPI release license

The official Python SDK for hush-hush, generated from its OpenAPI spec and kept in sync with it automatically.

Install

pip install hush-hush

Requires Python 3.11 or newer.

Quickstart

from hush_hush import Client

client = Client("https://hush-hush.example.com", api_key="your-api-key")  # or set HUSH_HUSH_API_KEY

# Create is a write operation — it needs the credential above.
client.create_object("my-first-secret", b"already-sealed-ciphertext")

# Get needs no credential — hush-hush's confidentiality boundary is
# "who holds a matching private key," not who's calling this endpoint.
value = client.get_object("my-first-secret")
print(f"got {len(value)} bytes of sealed ciphertext")

# The audit log records every read and write; querying it needs no
# credential either. Entries come oldest first; pass order="desc" for
# newest first.
for entry in client.query_audit_log(order="desc"):
    print(entry.action, entry.object_id, entry.timestamp)

AsyncClient offers the same methods (await client.get_object(...)) for async code. The API key is only required for write operations (create/update/delete); reads (get, used-by, audit-log query) work without one. caller, accepted by most methods, is optional. See the full API reference for everything else. The latest green run's test and coverage reports are at https://apis.ryankes.eu/hush-hush-python/reports/.

Versioning

This SDK's version tracks hush-hush's OpenAPI spec, not this repo's own commit history — see CONTRIBUTING.md for how a spec change becomes a release.

License

MIT

Metadata

Release files for hush-hush 4.1.31

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

Source distribution (sdist)

Source distribution for hush-hush 4.1.31
File Size Uploaded Provenance Actions
hush_hush-4.1.31.tar.gz 46.5 kB With provenance Details for hush_hush-4.1.31.tar.gz

Built distribution (wheel)

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

Total release size: 167.6 kB

Release files / hush_hush-4.1.31.tar.gz

Download URL hush_hush-4.1.31.tar.gz
Size 46.5 kB
Tags Source
SHA-256 checksum
How to use checksums
bbe5b5c71f77fa648deba0121806f4da887a8766cf7c8dd12fad10c159d5c5fa
BLAKE2b-256 checksum
How to use checksums
fd9e9f856ec921da0663c425053c5ea0bd7842433a7073602ee51899ec8e1c5a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

Release files / hush_hush-4.1.31-py3-none-any.whl

Download URL hush_hush-4.1.31-py3-none-any.whl
Size 121.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ee48a79c978b954b81e46fd435df4f4f7c8760e627d21ed748a29fc9843f3709
BLAKE2b-256 checksum
How to use checksums
f30e98ce20f3b0065b8c7a2507507bcc6242e5db345f337f959ccfd3de7c6e0e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

Security for hush-hush 4.1.31

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for hush_hush-4.1.31.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

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.1.31 This release

2 release files Full 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