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 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:

  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.0a2.tar.gz (190.7 kB 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.0a2-py3-none-any.whl (47.6 kB view details)

Uploaded Python 3

File details

Details for the file panel_live_server-0.1.0a2.tar.gz.

File metadata

  • Download URL: panel_live_server-0.1.0a2.tar.gz
  • Upload date:
  • Size: 190.7 kB
  • 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.0a2.tar.gz
Algorithm Hash digest
SHA256 325c22078052158ffe0109a106bcbf93b89a1e02922bc1a0fa6cddd05f40694f
MD5 d024df4ec5186b0baa9e18c23ad82dff
BLAKE2b-256 62ea877552b869f30b710302ec4ec842c4fd91412af1cb02916c729bca3a3a39

See more details on using hashes here.

Provenance

The following attestation bundles were made for panel_live_server-0.1.0a2.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.0a2-py3-none-any.whl.

File metadata

File hashes

Hashes for panel_live_server-0.1.0a2-py3-none-any.whl
Algorithm Hash digest
SHA256 53d9e92667a2dee428553a7a914fb3925d709011f181b1444831a2766debdcdd
MD5 43bc17fdcb47b0adbf901bdf2ed3fa78
BLAKE2b-256 d7c29f87c7922451a44b60d0718632d99dc0884bc4027d071574ccd8ca39bb0e

See more details on using hashes here.

Provenance

The following attestation bundles were made for panel_live_server-0.1.0a2-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