Skip to main content

backd (Python)

Python client for backd: auth, sessions and data for services, scripts and notebooks.

from backd import Client

with Client(url="http://localhost:8080", realm="shelf", api_key=key) as backd:
    ...

AsyncClient has the same calls with async with and await. One runtime dependency: httpx. pip install backd (PyPI, from the first release; until then pip install "backd @ git+https://github.com/fernandezvara/backd#subdirectory=clients/python"). Python 3.10 or later. The client is under construction (milestone 38); the docs page lists what exists. backd types --lang python generates TypedDicts and typed wrappers for a realm.

The admin API is not part of the client, for the same reason it isn't in the JavaScript, Dart and Go clients.

Development

python -m venv .venv && .venv/bin/pip install -e '.[dev]'
.venv/bin/python scripts/unasync.py     # writes src/backd/_sync from src/backd/_async
.venv/bin/ruff check . && .venv/bin/ruff format --check . && .venv/bin/mypy && .venv/bin/pytest

The async client is the source: src/backd/_sync is generated from src/backd/_async and checked in, and a test fails when it is out of date. Edit the async file, then run scripts/unasync.py. Files with no twin (the realtime stream, where a thread and a task differ in more than syntax) are written by hand.

Metadata

Release files for backd 0.9.12

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for backd 0.9.12
File Size Uploaded Provenance Actions
backd-0.9.12.tar.gz 177.4 kB With provenance Details for backd-0.9.12.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for backd 0.9.12
File Interpreter ABI Platform Actions
backd-0.9.12-py3-none-any.whl Python 3 none any Details for backd-0.9.12-py3-none-any.whl

Total release size: 331.7 kB

Release files / backd-0.9.12.tar.gz

Download URL backd-0.9.12.tar.gz
Size 177.4 kB
Tags Source
SHA-256 checksum
How to use checksums
fc480c725534485cf533e56a8e1ff063332e9fd67060b5669bc6122ff7c7e7cf
BLAKE2b-256 checksum
How to use checksums
cd3cdbdfbe97ae662af64b3a75111a07b286b5b69d5c0759e9e5d6883d25b877
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 15, 2026.

Transparency log

Release files / backd-0.9.12-py3-none-any.whl

Download URL backd-0.9.12-py3-none-any.whl
Size 154.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
27edf9cfc837d69b9bfc7032107d47e079263cc3a6b6435ed8f0b447c4f633b8
BLAKE2b-256 checksum
How to use checksums
7c8d2b3164ec6e52ff0cf20574db44cc1393948dc36ed6b5deac2f9d82df6a52
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 15, 2026.

Transparency log

Security for backd 0.9.12

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for backd-0.9.12.tar.gz

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 Nov 15, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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