Skip to main content

Panelini is a user-friendly Python package designed to provide an out-of-the-box panel with a beautiful and responsive layout. It simplifies the creation of interactive dashboards by handling dynamic content seamlessly using Python Panel components. Whether you're building complex data visualizations or simple interactive interfaces, panelini offers an easy-to-use solution that enhances productivity and aesthetics.

Project description

📊 panelini 🐍

opensemanticworld.github.io/panelini/ PyPI Version Release Build status codecov Commit activity License

Panelini Banner

panelini is a user-friendly Python package designed to provide an out-of-the-box panel with a beautiful and responsive layout. It simplifies the creation of interactive dashboards by handling dynamic content seamlessly using Python Panel components. Whether you're building complex data visualizations or simple interactive interfaces, panelini offers an easy-to-use solution that enhances productivity and aesthetics.

📦 Table of Contents

📄 Features

  • Easy Setup: Quickly get started with minimal configuration.
  • Beautiful Layouts: Pre-designed, aesthetically pleasing layouts that can be customized to fit your needs.
  • Dynamic Content: Efficiently manage and display dynamic content using robust Python Panel components.
  • Extensible: Easily extend and integrate with other Python libraries and tools.
  • Published on PyPI: Install effortlessly using pip.

🚀 Install

Recommended

uv add panelini

or use pip

pip install panelini

💥 Usage

A minimal example to run Panelini can be found in the examples/panelini_min.py file. Below is a simple code snippet to get you started:

from panelini import Panelini

# Minimal Example to run Panelini
main_objects = [
    # Use panel components to build your layout
    Card(
        objects=[Markdown("# 📊 Welcome to Panelini! 🖥️", disable_anchors=True)],
        title="Panel Example Card",
        width=300,
        max_height=200,
    )
]
# Create an instance of Panelini
app = Panelini(
    title="Hello Panelini",
    # main = [main_objects] # init objects here
)
# Or set objects outside
app.main_set(objects=main_objects)
# Use servable when using CLI "panel serve" command
app.servable()


if __name__ == "__main__":
    # Serve app as you would in panel
    app.serve(port=5010)

See examples directory for more usage scenarios.

🛞 Commands

Panel command to serve with static content

panel serve src/panelini/main.py --dev --port 5006 --static-dirs assets="src/panelini/assets" --ico-path src/panelini/assets/favicon.ico

When using panel serve, make sure to specify the correct paths for your static assets and favicon.

🦥 Authors

📜 Content Attribution

The authors initially generated the logo and banner for this repository using DALL-E 3 and later modified it to better align with the project's vision.

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

panelini-0.3.0.tar.gz (7.6 MB view details)

Uploaded Source

Built Distribution

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

panelini-0.3.0-py3-none-any.whl (6.4 MB view details)

Uploaded Python 3

File details

Details for the file panelini-0.3.0.tar.gz.

File metadata

  • Download URL: panelini-0.3.0.tar.gz
  • Upload date:
  • Size: 7.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.14

File hashes

Hashes for panelini-0.3.0.tar.gz
Algorithm Hash digest
SHA256 9d599402b610ac6652d26e8d9d7cc770d7b2b7092e60d7ce4f7c4ad5b7b7973d
MD5 b3ab1e247993d55fd8be9d5f0a3683d1
BLAKE2b-256 81dbcf49c023f54416064eba2256738103387b4c9849c5486513f5504c8b40b6

See more details on using hashes here.

File details

Details for the file panelini-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: panelini-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 6.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.14

File hashes

Hashes for panelini-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 69fc7339fdc9dad206a5eeab4ab9558a1a6a176db3f3fea0d00189cee9aa8b82
MD5 ca92d1b5496e1caf462e8836fd03d18c
BLAKE2b-256 6e77bdb7f4c67d24c02913564949d728b86b95f78f10a6429a6d64aa0cd7a946

See more details on using hashes here.

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