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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for dataface_playground-0.1.1.dev100-py3-none-any.whl
Algorithm Hash digest
SHA256 f573782c05df1f1c33f5470764dc2565a776f58e4ebdb1fdd6796d17cb797f18
MD5 b15789e0a0f4d7a9cdeeaedeec001a8a
BLAKE2b-256 54ddddca70046225a77e859046e945254a31490f7e5b994be5f504c71b0e3b7c

See more details on using hashes here.

Provenance

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