Skip to main content
Pre-release

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

daz_secrets-0.1.0a1.tar.gz (13.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

daz_secrets-0.1.0a1-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

Details for the file daz_secrets-0.1.0a1.tar.gz.

File metadata

  • Download URL: daz_secrets-0.1.0a1.tar.gz
  • Upload date:
  • Size: 13.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for daz_secrets-0.1.0a1.tar.gz
Algorithm Hash digest
SHA256 b8130911932d2c4aed87265c1a899ba6032c19accae4a556165e63d49bb2e815
MD5 270500919a8b75ff1ad68697579a9955
BLAKE2b-256 576f9d226e59f679c0bdd5959b4d2c2ffa6ed4c493d0293a6962d8e8a62df9b5

See more details on using hashes here.

File details

Details for the file daz_secrets-0.1.0a1-py3-none-any.whl.

File metadata

  • Download URL: daz_secrets-0.1.0a1-py3-none-any.whl
  • Upload date:
  • Size: 10.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for daz_secrets-0.1.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 d94900fbe5206dd8f2bd28cb731ac07ceaae7d0c241214dd218d5b89b4b3ebf1
MD5 5f6b528eac39c32b56600fccc64fc40d
BLAKE2b-256 d390c5b36b782f5086429c9ec75aa0e64a57f8392ff5d8825df6adb262648130

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page