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.2.dev1509-py3-none-any.whl (1.2 MB view details)

Uploaded Python 3

File details

Details for the file dataface_playground-0.0.2.dev1509-py3-none-any.whl.

File metadata

File hashes

Hashes for dataface_playground-0.0.2.dev1509-py3-none-any.whl
Algorithm Hash digest
SHA256 fc8047e674456c5d9dd3893b17ce1057afa1c00d0a0f693e6bbef150a46558fa
MD5 a243228ed97090e289514b1e4e5ee37f
BLAKE2b-256 de51d64f6ba1ad0b7c3aab9c7b2db9dcf057cf422480b41469a1baafce4c2202

See more details on using hashes here.

Provenance

The following attestation bundles were made for dataface_playground-0.0.2.dev1509-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