Skip to main content

dashtro-client

Python client SDK for the Dashtro CMS API — scoped, API-key-authenticated access to a project's documents and realtime database from external apps (/api/sdk/* on your Dashtro instance).

Install

pip install dashtro-client

Usage

from dashtro_client import DashtroClient

client = DashtroClient(
    base_url="https://admin.example.com",
    project_id="<project-id>",
    api_key="<api-key>",
    workspace="production",  # optional, defaults to "production"
    cache_ttl=60,            # optional, seconds, defaults to 60
)

post = client.get_document("blog-posts", "<document-id>")
all_posts = client.get_all_documents("blog-posts")

# Realtime database
client.rtdb.set("/counters/views", 1)

client.close()  # or: with DashtroClient(...) as client: ...

An AsyncDashtroClient/AsyncRtdbClient pair with the same API (awaited, aclose() instead of close()) is available for asyncio code.

API keys are issued and scoped (per collection, read/write) from your Dashtro instance's settings page.

License

ISC

Release files for dashtro-client 0.2.1

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

Source distribution (sdist)

Source distribution for dashtro-client 0.2.1
File Size Uploaded
dashtro_client-0.2.1.tar.gz 3.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dashtro-client 0.2.1
File Interpreter ABI Platform
dashtro_client-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 6.9 kB

Release files / dashtro_client-0.2.1.tar.gz

Download URL dashtro_client-0.2.1.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
95877f3017d3944f811de5b69a7fcbb2c2c4f690b744856ec09feb5af5ea402e
BLAKE2b-256 checksum
How to use checksums
d0cba23f5802b8d80e54bbd65f7815d2ddc2491f68a3d7c2fe66e7bfa9e540b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.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 Jul 21, 2026.

Transparency log

Release files / dashtro_client-0.2.1-py3-none-any.whl

Download URL dashtro_client-0.2.1-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ef156a284093ffe08aac3a006585a3ffbb7449b3c830385e9afcc9dc2a956a02
BLAKE2b-256 checksum
How to use checksums
0894cde9fd6cf0a2e01e1b97053ff71c4a6766868df51c4d333abc69d8779e1b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.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 Jul 21, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.1 This release

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