hush-hush-python
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)
An AsyncClient with the same methods (await client.get_object(...)) is
available 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
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 hush_hush-1.2.7.tar.gz.
File metadata
- Download URL: hush_hush-1.2.7.tar.gz
- Upload date:
- Size: 15.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e27060b6b0004bc3487f00ed92373c9cf6dae801a8b0b21df889a1790694265e
|
|
| MD5 |
5c2fd155236c21a74f180edac4a0b5d2
|
|
| BLAKE2b-256 |
25f155da0ae97c97471e4be2b0b10e2163b2d3f50fc6d7b2158787160e9764c1
|
Provenance
The following attestation bundles were made for hush_hush-1.2.7.tar.gz:
Publisher:
release.yml on alrayyes/hush-hush-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hush_hush-1.2.7.tar.gz -
Subject digest:
e27060b6b0004bc3487f00ed92373c9cf6dae801a8b0b21df889a1790694265e - Sigstore transparency entry: 2710219093
- Sigstore integration time:
-
Permalink:
alrayyes/hush-hush-python@79294e2ecf7d10f5fd569426f6a315831ea5cc65 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/alrayyes
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@79294e2ecf7d10f5fd569426f6a315831ea5cc65 -
Trigger Event:
push
-
Statement type:
File details
Details for the file hush_hush-1.2.7-py3-none-any.whl.
File metadata
- Download URL: hush_hush-1.2.7-py3-none-any.whl
- Upload date:
- Size: 30.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7f893b1e46929326cdbb5b0f84db25c6c884bc5182afad4d0e6f5703ea2a12f1
|
|
| MD5 |
559ca481a94cd3348d6c070f3f8f728f
|
|
| BLAKE2b-256 |
31e9f41e2e88c1db55caaad557cf4d123a537acf903b34465a6574715843ccb0
|
Provenance
The following attestation bundles were made for hush_hush-1.2.7-py3-none-any.whl:
Publisher:
release.yml on alrayyes/hush-hush-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hush_hush-1.2.7-py3-none-any.whl -
Subject digest:
7f893b1e46929326cdbb5b0f84db25c6c884bc5182afad4d0e6f5703ea2a12f1 - Sigstore transparency entry: 2710219180
- Sigstore integration time:
-
Permalink:
alrayyes/hush-hush-python@79294e2ecf7d10f5fd569426f6a315831ea5cc65 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/alrayyes
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@79294e2ecf7d10f5fd569426f6a315831ea5cc65 -
Trigger Event:
push
-
Statement type: