This repository powers the Pip Install Python Components docs site. To make it easier to test an individual page without installing the full dependency set, each standalone Dash demo lives in its own “runner” folder with a minimal requirements.txt.
| Runner | Description | Command |
|---|---|---|
runners/full_calendar |
Dash FullCalendar showcase (interactive builder, advanced workflows, API modal demo) | python runners/full_calendar/run.py |
- Create/activate a virtual environment (recommended):
cd pip-docs python -m venv .venv source .venv/bin/activate # On Windows: .venv\Scripts\activate
- Install only the deps needed for the runner you want to test:
pip install -r runners/full_calendar/requirements.txt
- Start the Dash app:
The app listens on
python runners/full_calendar/run.py
http://127.0.0.1:8059by default.
Each runner automatically adds the repo root to PYTHONPATH and reuses the shared assets/ directory, so the demos behave the same way they do inside the full docs build.
- Create
runners/<feature-name>/run.pyand add a minimalrequirements.txt. - In
run.py, importPath/sys, push the repo root ontosys.path, and point Dash atassets_folder=.../assets. - Document the runner in the table above so contributors know how to start it.
This pattern keeps the install footprint tiny when you only need to verify one page, while preserving the standard docs structure (Markdown pages, components, data helpers, shared assets, etc.).