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, and returns the full matching result set (there's
# no pagination on this endpoint).
for entry in client.query_audit_log():
    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.

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

Release files for hush-hush 2.0.2

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 2.0.2
File Size Uploaded
hush_hush-2.0.2.tar.gz 22.4 kB Details

Built distribution (wheel)

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

Total release size: 81.3 kB

Release files / hush_hush-2.0.2.tar.gz

Download URL hush_hush-2.0.2.tar.gz
Size 22.4 kB
Tags Source
SHA-256 checksum
How to use checksums
e15b7a3b9c4864e030e75e8b3106664c94b2701e15899e209686094a738d2c88
BLAKE2b-256 checksum
How to use checksums
5a9de717cbbb33743081c115c6c51d7c5202722d6a74f3322079836b7a28e588
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 19, 2026.

Transparency log

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

Download URL hush_hush-2.0.2-py3-none-any.whl
Size 59.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
313d8262a09ddadb4f9193f351c897fff1271c1e6da2fdec61e67ea5f069e221
BLAKE2b-256 checksum
How to use checksums
8ec3e629cc76a763f64e4d176dfa3d221a9da709823a96b8e3bc0e84ed959fad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 19, 2026.

Transparency log

Release history Release notifications | RSS feed

3.0.11

2 release files

3.0.10

2 release files

3.0.9

2 release files

3.0.8

2 release files

3.0.7

2 release files

3.0.6

2 release files

3.0.5

2 release files

3.0.4

2 release files

3.0.3

2 release files

3.0.2

2 release files

3.0.1

2 release files

3.0.0

2 release files

2.0.3

2 release files

This release

2.0.2 This release

2 release files

2.0.1

2 release files

1.2.15

2 release files

1.2.14

2 release files

1.2.13

2 release files

1.2.12

2 release files

1.2.11

2 release files

1.2.10

2 release files

1.2.9

2 release files

1.2.8

2 release files

1.2.7

2 release files

1.2.6

2 release files

1.2.5

2 release files

1.2.4

2 release files

1.2.3

2 release files

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