notebook-templates
Recipe card from the charly-jupyter plugin (Images — the deployable catalog).
notebook-templates – Starter notebook data candy
Section titled “notebook-templates – Starter notebook data candy”Candy Properties
Section titled “Candy Properties”| Property | Value |
|---|---|
| Dependencies | (none) |
| Packages | (none) |
| Services | (none) |
| Volumes | workspace -> /workspace |
| Data | data/notebooks -> workspace volume |
| Install files | (none) |
How It Works
Section titled “How It Works”This is a data candy — the first of its kind in the project. It uses the data: field in charly.yml to map a directory of files to a named volume:
info: "Starter notebook templates for jupyter"
data: - src: data/notebooks volume: workspaceAt build time, the contents of data/notebooks/ are staged into /data/workspace/ inside the box.
At deploy time, when the volume is configured as a bind mount (charly config --bind workspace), charly config copies the staged data from the box into the host-backed volume directory. This seeds the volume with starter content (e.g., getting-started.ipynb).
Included Data
Section titled “Included Data”| File | Purpose |
|---|---|
getting-started.ipynb |
Starter notebook for new jupyter deployments |
jupyter: candy: - notebook-templates # ... other candies# Deploy with bind-backed workspace volumecharly config jupyter --bind workspace
# Data is copied from image to host volume on first configcharly start jupyterUsed In Boxes
Section titled “Used In Boxes”Related Skills
Section titled “Related Skills”/charly-image:layer– data field documentation and candy authoring rules/charly-core:charly-config– data provisioning duringcharly configsetup/charly-core:deploy– volume backing configuration (bind, named, encrypted)/charly-jupyter:jupyter– the JupyterLab candy that consumes the workspace volume/charly-jupyter:jupyter– the box that includes this candy
When to Use This Skill
Section titled “When to Use This Skill”Use when the user asks about:
- The notebook-templates candy or its contents
- Data candies and the
data:field incharly.yml - How starter content gets provisioned into volumes
- The
getting-started.ipynbnotebook - How
charly configseeds bind-backed volumes with box data
Related
Section titled “Related”/charly-check:check— declarative testing (check:block,charly check box,charly check live)