You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lumen's core building blocks—[Sources](configuration/sources.md), [Agents](configuration/agents.md), [Tools](configuration/tools.md), and [Analyses](configuration/analyses.md)—are all subclassable Python classes. If you've built a custom component and want to share it as a reusable, installable Python package, the **Panel Extension Copier Template** gives you a fully configured project scaffold to do just that.
4
+
5
+
### What is the Panel Extension Copier Template?
6
+
7
+
The [`copier-template-panel-extension`](https://github.com/panel-extensions/copier-template-panel-extension) is a [Copier](https://copier.readthedocs.io/en/stable/) template that scaffolds a fully configured Python package for Panel and Lumen extensions. It gives you:
8
+
9
+
-**pytest** for testing
10
+
-**Zensical + mkdocstrings** for automatic API docs hosted on GitHub Pages
11
+
-**GitHub Actions** CI/CD for automated testing and publishing
12
+
-**Pixi** for reproducible environment management
13
+
14
+
### Quickstart
15
+
16
+
Make sure you have [Pixi](https://pixi.sh) installed, then run:
You'll be prompted for a few details such as extension type, project slug, and author info. Choose **Lumen** as the extension type when asked, and select `py311` or higher for the minimum Python version—Lumen requires Python 3.11+.
26
+
27
+
From there, follow the template's [step-by-step guide](https://github.com/panel-extensions/copier-template-panel-extension#getting-started) to set up GitHub Pages docs, link to PyPI, and publish your first release with a git tag.
28
+
29
+
---
30
+
31
+
## Further Reading
32
+
33
+
-[Data Sources](configuration/sources.md) — built-in sources and how to configure them
0 commit comments