Skip to main content

Provides a draggable and resizable grid for Panel.

Project description

panel-tiles

CI pypi-version python-version

A draggable, resizable grid layout for Panel applications (Muuri + interact.js).

Installation

pip install panel-tiles

Quick start

import panel as pn
from panel_tiles import TileGrid

pn.extension()

grid = TileGrid(
    objects=[
        pn.pane.Markdown("## Panel A"),
        pn.pane.Markdown("## Panel B"),
    ],
    editable=True,
    width=800,
)

grid.servable()

Use pn.extension("panel-tiles") (or pn.extension() after a normal install) so Panel loads the bundled JavaScript and styles.

Features

  • Drag-and-drop and resize tiles when editable=True
  • Optional layout persistence (local_save)
  • initial_layout and live layout updates from Python

Development

Managed with pixi.

git clone https://github.com/panel-extensions/panel-tiles.git
cd panel-tiles

pixi run postinstall
pixi run compile
pixi run test

UI tests:

pixi run -e test-ui test-ui

License

See LICENSE.

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_tiles-0.0.0a0.tar.gz (77.0 kB view details)

Uploaded Source

Built Distribution

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

panel_tiles-0.0.0a0-py3-none-any.whl (66.0 kB view details)

Uploaded Python 3

File details

Details for the file panel_tiles-0.0.0a0.tar.gz.

File metadata

  • Download URL: panel_tiles-0.0.0a0.tar.gz
  • Upload date:
  • Size: 77.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for panel_tiles-0.0.0a0.tar.gz
Algorithm Hash digest
SHA256 b410eec1c8323f2acb4224440546e517a93c28a8dfc053791c7c9998df59d01d
MD5 437083242d806408d86aed08b9888cc1
BLAKE2b-256 d3ef06e7fa223850dbe0d87f0ba9ba4f93eae21197dd2335e3aa114d56fa5c4a

See more details on using hashes here.

Provenance

The following attestation bundles were made for panel_tiles-0.0.0a0.tar.gz:

Publisher: build.yml on panel-extensions/panel-tiles

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_tiles-0.0.0a0-py3-none-any.whl.

File metadata

  • Download URL: panel_tiles-0.0.0a0-py3-none-any.whl
  • Upload date:
  • Size: 66.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for panel_tiles-0.0.0a0-py3-none-any.whl
Algorithm Hash digest
SHA256 2ffa08aaa231abc449f768b220e4cc2ef0ef2fda38619fddc57925ad22131238
MD5 9081a8b42e9474c53c88c5c64bd0f2be
BLAKE2b-256 e5c19f61321347ef012877c3508303cd2456548de810fe364d798145a45da99d

See more details on using hashes here.

Provenance

The following attestation bundles were made for panel_tiles-0.0.0a0-py3-none-any.whl:

Publisher: build.yml on panel-extensions/panel-tiles

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