Skip to main content

Dataface interactive playground — OSS dashboard editor

Project description

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 when OPENAI_API_KEY is 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.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

dataface_playground-0.0.1-py3-none-any.whl (1.2 MB view details)

Uploaded Python 3

File details

Details for the file dataface_playground-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for dataface_playground-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 70929482f7c6d3c5588687912b91a7fda60e6320c2a89f4b27945ef7a9b4b391
MD5 e8dea20a0438edeafb1775cd17c446ae
BLAKE2b-256 86b3e8d82806384ae7d4a3a232cbc6b64e3a9916a7aa39eb60f25ccbe2056369

See more details on using hashes here.

Provenance

The following attestation bundles were made for dataface_playground-0.0.1-py3-none-any.whl:

Publisher: release-dataface-playground.yml on fivetran/dataface

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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