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.29

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.29
File Size Uploaded
hush_hush-4.1.29.tar.gz 46.5 kB Details

Built distribution (wheel)

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

Total release size: 167.6 kB

Release files / hush_hush-4.1.29.tar.gz

Download URL hush_hush-4.1.29.tar.gz
Size 46.5 kB
Tags Source
SHA-256 checksum
How to use checksums
c3b6803852b4b030ac21c9effab7ce2574560e426bbcf0fadf6e0e16dea09b78
BLAKE2b-256 checksum
How to use checksums
8ae59a6fe8d9f77b63be91a105c422ae0e8d36ab60e6e4ddd0d770140eb0cc51
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 Oct 15, 2026.

Transparency log

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

Download URL hush_hush-4.1.29-py3-none-any.whl
Size 121.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0c34c69c26a5b5ef8c8f8bdf2f1d0951341e853dfe789ac710d69b8c8ba90dcc
BLAKE2b-256 checksum
How to use checksums
66bae78a0ac7b9da1f3b72a703868a785fa7ae587d806502fefca823d5f51d03
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 Oct 15, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

4.1.29 This release

2 release files

4.1.28

2 release files

4.1.27

2 release files

4.1.26

2 release files

4.1.25

2 release files

4.1.24

2 release files

4.1.23

2 release files

4.1.22

2 release files

4.1.21

2 release files

4.1.20

2 release files

4.1.19

2 release files

4.1.18

2 release files

4.1.17

2 release files

4.1.16

2 release files

4.1.15

2 release files

4.1.14

2 release files

4.1.13

2 release files

4.1.12

2 release files

4.1.9

2 release files

4.1.8

2 release files

4.1.7

2 release files

4.1.6

2 release files

4.1.5

2 release files

4.1.4

2 release files

4.1.3

2 release files

4.1.2

2 release files

4.1.1

2 release files

4.1.0

2 release files

4.0.8

2 release files

4.0.7

2 release files

4.0.6

2 release files

4.0.5

2 release files

4.0.4

2 release files

4.0.3

2 release files

4.0.2

2 release files

4.0.1

2 release files

4.0.0

2 release files

3.0.16

2 release files

3.0.15

2 release files

3.0.14

2 release files

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

2.0.2

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