This release is a pre-release and may not be stable for production use.
daz-secrets Python SDK
daz-secrets is the typed synchronous Python client for daz-secrets protocol
v1.0. Each operation launches one explicitly configured provider executable,
exchanges one canonical CBOR frame over standard input/output, and terminates.
Secret values are always bytes; revisions are opaque strings used unchanged
for compare-and-set operations.
Python 3.11 or newer is required. The package has no runtime dependencies.
from daz_secrets import Client, DazSecretsError, ErrorCode
client = Client()
created = client.set("service", "account", b"binary value")
current = client.get("service", "account")
client.delete("service", "account", expected_revision=created.revision)
The default client reads only
.config/daz-secrets/provider.toml beneath the home directory returned by the
OS account database. It ignores HOME, PATH, and every provider/config
override from the environment. An explicit ClientConfig is intended for
isolated integrations.
Cancellation is supported with a threading.Event passed as cancel=. The
configured timeout remains the shared upper bound across primary and fallback
attempts.
Development uses only the package-local virtual environment:
./run format
./run lint
./run typecheck
./run test
./run build
./run check
check runs formatting verification, lint, strict type checking, the complete
real-provider conformance suite, and source/wheel builds with warnings promoted
to errors.
Metadata
Release files for daz-secrets 0.1.0a1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| daz_secrets-0.1.0a1.tar.gz | 13.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| daz_secrets-0.1.0a1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 23.9 kB
Release files / daz_secrets-0.1.0a1.tar.gz
| Download URL | daz_secrets-0.1.0a1.tar.gz |
|---|---|
| Size | 13.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b8130911932d2c4aed87265c1a899ba6032c19accae4a556165e63d49bb2e815
|
|
BLAKE2b-256 checksum How to use checksums |
576f9d226e59f679c0bdd5959b4d2c2ffa6ed4c493d0293a6962d8e8a62df9b5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.6
|
Release files / daz_secrets-0.1.0a1-py3-none-any.whl
| Download URL | daz_secrets-0.1.0a1-py3-none-any.whl |
|---|---|
| Size | 10.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d94900fbe5206dd8f2bd28cb731ac07ceaae7d0c241214dd218d5b89b4b3ebf1
|
|
BLAKE2b-256 checksum How to use checksums |
d390c5b36b782f5086429c9ec75aa0e64a57f8392ff5d8825df6adb262648130
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.6
|