This release is a pre-release and may not be stable for production use.
Dataface Playground
Interactive editor for Dataface dashboards — live YAML editing with a real-time preview, share links, and an AI copilot for dashboard authoring.
Install
pip install dataface-playground
The package installs both the dft-playground console script and the
dft playground subcommand on the dft CLI.
Run
dft-playground # auto-resolved port
dft playground # equivalent via the dft CLI
dft playground --port 3000
dft playground --base-dir ./examples
dft playground --data ./my_data.db
dft playground --openai-key sk-... # enables AI copilot
The playground opens at http://127.0.0.1:<port> and ships a curated
gallery of example dashboards covering charts, layouts, tables, KPIs, and
variable-driven interactions.
What's in the wheel
- FastAPI app: live YAML editor, WebSocket preview, share-link cache, AI
copilot (
/api/ai/chat— OpenAI-backed whenOPENAI_API_KEYis set) - A small curated example gallery under
examples_data/examples/(DuckDB-backed) so a fresh install renders something on first launch
Configuration
| Variable | Default | Description |
|---|---|---|
OPENAI_API_KEY |
— | Enables the AI copilot sidebar |
DFT_PLAYGROUND_MODE |
local (set by CLI) |
local allows inline data sources; deployed requires an allowlisted source |
DFT_DOCS_URL |
— | Base URL for per-face docs: links rendered in the gallery |
Known limitations
Share cache is in-memory. Shared dashboard links are invalidated when the server restarts. The playground is meant for local editing and short-lived demos, not as a persistent share-link service.
License
Apache-2.0 — see LICENSE.
Metadata
Release files for dataface-playground 0.1.1.dev100
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dataface_playground-0.1.1.dev100-py3-none-any.whl | Python 3 | none | any | Details |
Release files / dataface_playground-0.1.1.dev100-py3-none-any.whl
| Download URL | dataface_playground-0.1.1.dev100-py3-none-any.whl |
|---|---|
| Size | 1.1 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f573782c05df1f1c33f5470764dc2565a776f58e4ebdb1fdd6796d17cb797f18
|
|
BLAKE2b-256 checksum How to use checksums |
54ddddca70046225a77e859046e945254a31490f7e5b994be5f504c71b0e3b7c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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 16, 2026.
Transparency logSecurity for dataface-playground 0.1.1.dev100
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 1 file in this release has been uploaded with provenance metadata.
Attestation for dataface_playground-0.1.1.dev100-py3-none-any.whl
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 16, 2026.
Transparency logA 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.