Skip to main content

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

CI conda-forge pypi-version python-version

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.

panel-live-server showcase

panel-live-server MCP showcase

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:

  1. Fork the repository.
  2. Create a new branch: git checkout -b feature/YourFeature.
  3. Make your changes and commit them: git commit -m 'Add some feature'.
  4. Push to the branch: git push origin feature/YourFeature.
  5. Open a pull request.

Please ensure your code adheres to the project's coding standards and passes all tests.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

panel_live_server-0.1.0a5.tar.gz (19.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

panel_live_server-0.1.0a5-py3-none-any.whl (53.3 kB view details)

Uploaded Python 3

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

Hashes for panel_live_server-0.1.0a5.tar.gz
Algorithm Hash digest
SHA256 50eb498e7c6765ebb5a1a45c3aa01287475db3f0583367783bb1c423061646e7
MD5 58fad65fadd43cba9b27642f8fa41976
BLAKE2b-256 67da8b97ab3b7eb1f39346c1c2fd09ed4d42f456e31f05f5ca33e070d782c905

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file panel_live_server-0.1.0a5-py3-none-any.whl.

File metadata

File hashes

Hashes for panel_live_server-0.1.0a5-py3-none-any.whl
Algorithm Hash digest
SHA256 54a0480de8db38614cc1c4b4d23284ada2cbe68f124fd75a9f159187ffdd80c1
MD5 832f91d46de868be233b8967b25e9d3f
BLAKE2b-256 9a093e739d41250f58c51579308651393335bdb42853c116803db4f11a379088

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page