{
 "schema_version": 1,
 "generated": "2026-11-01",
 "id": "kanaries-pygwalker--share-an-explorer-as-a-streamlit-app",
 "repo": "Kanaries/pygwalker",
 "repo_url": "https://github.com/Kanaries/pygwalker",
 "repo_slug": "kanaries-pygwalker",
 "title": "Share a self-serve data explorer as a Streamlit app",
 "page_title": "How to share a self-serve data explorer as a Streamlit app with Pygwalker",
 "summary": "Host the PyGWalker UI in Streamlit so teammates can explore a dataset in the browser without a notebook.",
 "who": "An analyst whose colleagues keep asking for slightly different cuts of the same data.",
 "problem": "Every new question becomes a request to the one person who has the notebook.",
 "outcome": "A web app where anyone can drag fields to build their own charts on the shared dataset.",
 "steps": [
  "Install Pygwalker and streamlit",
  "Import StreamlitRenderer from Pygwalker.api.streamlit and set the page layout to wide",
  "Wrap the renderer in a function decorated with st.cache_resource so memory does not explode",
  "Create `StreamlitRenderer(df, spec_path=\"./gw_config.json\", spec_io_mode=\"rw\")` to let users save chart configs",
  "Call renderer.explorer() and run the app with Streamlit"
 ],
 "agent_prompt": "Build a Streamlit app with Kanaries/pygwalker that loads <dataset>, caches the StreamlitRenderer with st.cache_resource, saves chart configs to gw_config.json, and shows the explorer. Use computation=\"kernel\" if the data is large.",
 "agents": [
  "claude-code",
  "codex",
  "cursor"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "With spec_io_mode set to rw, anyone using the app can change the saved chart config, so keep a backup.",
 "category": "Data and analytics",
 "tags": [
  "Data and analytics"
 ],
 "lang": "python",
 "requirements": [
  "Python with pandas, polars or pyarrow data",
  "Jupyter Notebook, JupyterLab, Colab or Kaggle, or Streamlit for a web app",
  "pip, conda or mamba to install"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/kanaries-pygwalker/share-an-explorer-as-a-streamlit-app/",
 "md": "https://dedupedai.com/use-cases/kanaries-pygwalker/share-an-explorer-as-a-streamlit-app/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/kanaries-pygwalker--share-an-explorer-as-a-streamlit-app.json",
 "api_version": "v1"
}
