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

MIT

Metadata

Release files for dashtro-client 0.3.0

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.3.0
File Size Uploaded Provenance Actions
dashtro_client-0.3.0.tar.gz 4.7 kB With provenance Details for dashtro_client-0.3.0.tar.gz

Built distribution (wheel)

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

Total release size: 9.6 kB

Release files / dashtro_client-0.3.0.tar.gz

Download URL dashtro_client-0.3.0.tar.gz
Size 4.7 kB
Tags Source
SHA-256 checksum
How to use checksums
64fc484fc25b570ab9f6e0ed55776108005f93335cb8f8b9a4773b8ad50727fa
BLAKE2b-256 checksum
How to use checksums
a1e07f2b9544c6c15afeb84856ca4677eb9b06a19985dffc2a1b27b1e5837db5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.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 Oct 8, 2026.

Transparency log

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

Download URL dashtro_client-0.3.0-py3-none-any.whl
Size 4.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5355d027e751a561c00a9b59892f893a2b2743af8817949802c02ed8b9da96f9
BLAKE2b-256 checksum
How to use checksums
627d7aae1343eaaa909af35c84d24259d2798af2519d35d537c0ac32b860e06e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.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 Oct 8, 2026.

Transparency log

Security for dashtro-client 0.3.0

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

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for dashtro_client-0.3.0.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 Oct 8, 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.

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files Full provenance

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