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.1.1.dev200-py3-none-any.whl (1.1 MB view details)

Uploaded Python 3

File details

Details for the file dataface_playground-0.1.1.dev200-py3-none-any.whl.

File metadata

File hashes

Hashes for dataface_playground-0.1.1.dev200-py3-none-any.whl
Algorithm Hash digest
SHA256 a2efcdc4b6307d3e282fe52751706c7dd2957578cae2c52ff2c845a6e5603901
MD5 f5d7887c5282ad9e4b9a2bbe3a02ac4b
BLAKE2b-256 ccb5755083665d45f44c29085668e7b2b1d13dd382cdf4d20e710263827558cb

See more details on using hashes here.

Provenance

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