Panel Live Server is a local Panel web server that executes Python code snippets and renders the resulting visualizations as live, interactive web pages.
Project description
✨ panel-live-server
Panel Live Server is a local Panel web server and MCP server that executes Python code snippets and renders the resulting visualizations as live, interactive web pages — enabling humans and AI assistants to display and inspect Python outputs in real time.
Features
panel-live-server
Pin your version!
This project is in its early stages, so if you find a version that suits your needs, it’s recommended to pin your version, as updates may introduce changes.
Installation
Install it via pip:
pip install panel-live-server
Usage
$ pls
Usage: pls [OPTIONS] COMMAND [ARGS]...
Panel Live Server - Execute and visualize Python code snippets.
╭─ Options ────────────────────────────────────────────────────────────────────────────────────────────╮
│ --version -V Show version and exit. │
│ --help Show this message and exit. │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ───────────────────────────────────────────────────────────────────────────────────────────╮
│ serve Start the Panel Live Server directly. │
│ mcp Start as an MCP server for AI assistants. │
│ status Check whether the Panel server is running. │
│ list List resources (packages, etc.). │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────╯
You can also use panel-live-server but pls is shorter, easy to remember and fun to use - pls use it 😄.
Development
git clone https://github.com/panel-extensions/panel-live-server
cd panel-live-server
For a simple setup use uv:
uv venv
source .venv/bin/activate # on linux. Similar commands for windows and osx
uv pip install -e .[dev]
pre-commit run install
pytest tests
For the full Github Actions setup use pixi:
pixi run pre-commit-install
pixi run postinstall
pixi run test
This repository is based on copier-template-panel-extension (you can create your own Panel extension with it)!
To update to the latest template version run:
pixi exec --spec copier --spec ruamel.yaml -- copier update --defaults --trust
Note: copier will show Conflict for files with manual changes during an update. This is normal. As long as there are no merge conflict markers, all patches applied cleanly.
❤️ Contributing
Contributions are welcome! Please follow these steps to contribute:
- Fork the repository.
- Create a new branch:
git checkout -b feature/YourFeature. - Make your changes and commit them:
git commit -m 'Add some feature'. - Push to the branch:
git push origin feature/YourFeature. - Open a pull request.
Please ensure your code adheres to the project's coding standards and passes all tests.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file panel_live_server-0.1.0a5.tar.gz.
File metadata
- Download URL: panel_live_server-0.1.0a5.tar.gz
- Upload date:
- Size: 19.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
50eb498e7c6765ebb5a1a45c3aa01287475db3f0583367783bb1c423061646e7
|
|
| MD5 |
58fad65fadd43cba9b27642f8fa41976
|
|
| BLAKE2b-256 |
67da8b97ab3b7eb1f39346c1c2fd09ed4d42f456e31f05f5ca33e070d782c905
|
Provenance
The following attestation bundles were made for panel_live_server-0.1.0a5.tar.gz:
Publisher:
build.yml on panel-extensions/panel-live-server
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
panel_live_server-0.1.0a5.tar.gz -
Subject digest:
50eb498e7c6765ebb5a1a45c3aa01287475db3f0583367783bb1c423061646e7 - Sigstore transparency entry: 1108194466
- Sigstore integration time:
-
Permalink:
panel-extensions/panel-live-server@3f82db3c65f5526b44ee8a48481a5dd5b761e030 -
Branch / Tag:
refs/tags/0.1.0a5 - Owner: https://github.com/panel-extensions
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@3f82db3c65f5526b44ee8a48481a5dd5b761e030 -
Trigger Event:
push
-
Statement type:
File details
Details for the file panel_live_server-0.1.0a5-py3-none-any.whl.
File metadata
- Download URL: panel_live_server-0.1.0a5-py3-none-any.whl
- Upload date:
- Size: 53.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
54a0480de8db38614cc1c4b4d23284ada2cbe68f124fd75a9f159187ffdd80c1
|
|
| MD5 |
832f91d46de868be233b8967b25e9d3f
|
|
| BLAKE2b-256 |
9a093e739d41250f58c51579308651393335bdb42853c116803db4f11a379088
|
Provenance
The following attestation bundles were made for panel_live_server-0.1.0a5-py3-none-any.whl:
Publisher:
build.yml on panel-extensions/panel-live-server
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
panel_live_server-0.1.0a5-py3-none-any.whl -
Subject digest:
54a0480de8db38614cc1c4b4d23284ada2cbe68f124fd75a9f159187ffdd80c1 - Sigstore transparency entry: 1108194491
- Sigstore integration time:
-
Permalink:
panel-extensions/panel-live-server@3f82db3c65f5526b44ee8a48481a5dd5b761e030 -
Branch / Tag:
refs/tags/0.1.0a5 - Owner: https://github.com/panel-extensions
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@3f82db3c65f5526b44ee8a48481a5dd5b761e030 -
Trigger Event:
push
-
Statement type: