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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for dataface_playground-0.0.2.dev1729-py3-none-any.whl
Algorithm Hash digest
SHA256 7ee132e7dee9fc16f30a9f06480212469e6ab32883e124a662c0668baa041e01
MD5 f5288777c0a2b066996be9603e8f3817
BLAKE2b-256 87bffa711708c38b1fb85343cd4a054f45320269ac107707eb15ec2599d47ee5

See more details on using hashes here.

Provenance

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