Skip to main content

panel-jstree is a wrapper python wrapper around the javascript library jstree for use in panel. This allows for JSON-like representations of tree data. One very useful implementation provided is a server-side file browser.

Project description

✨ panel-jstree

panel-jstree is a wrapper python wrapper around the javascript library jstree for use in panel. This allows for JSON-like representations of tree data. One very useful implementation provided is a server-side file browser.

You can install and use the package as simple as.

conda install -c conda-forge panel-jstree

or with pip

pip install panel-jstree

Add this into a python file to play with the FileTree

from panel_jstree import FileTree

FileTree().servable()

run it with panel serve name_of_app.py

It should run exploring the directory of the file.

Project Intro

🚀 Get started in under a minute

pip install  panel-jstree

Run the examples

panel serve tests/*tree.py --show

Here are some of the examples. You can see a small FileTree app with a text field and controls to directly input a file path, and turn off and on some of the controls.

FileTree App Example

You can make a simple tree where you swap out the data.

Simple Tree App Example

You can also see a generic Tree app with a custom callback to generate random nodes.

Random Tree App Example

⭐ Support

Please support Panel and panel-jstree by giving the projects a star on Github.

Thanks

❤️ Contribute

If you are looking to contribute to this project you can find ideas in the issue tracker. To get started check out the DEVELOPER_GUIDE.

I would love to support and receive your contributions. Thanks.

Monitor

Conda Install Conda Version
PyPI Install PyPI version
Github release Github tag
Python Versions Python Versions
License 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_jstree-0.3.5.tar.gz (42.7 kB view details)

Uploaded Source

Built Distribution

panel_jstree-0.3.5-py3-none-any.whl (51.4 kB view details)

Uploaded Python 3

File details

Details for the file panel_jstree-0.3.5.tar.gz.

File metadata

  • Download URL: panel_jstree-0.3.5.tar.gz
  • Upload date:
  • Size: 42.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for panel_jstree-0.3.5.tar.gz
Algorithm Hash digest
SHA256 a96c978f77cb368d9e400cf49d7cbdc99e8b56cfc5ee409b96343ada62f10ff4
MD5 0616a9649e497ac9fd20997e84e49d0a
BLAKE2b-256 3abb86b2f0c1005c834f51800f3d334181a357a33c02fd169da82a2423b7d146

See more details on using hashes here.

File details

Details for the file panel_jstree-0.3.5-py3-none-any.whl.

File metadata

File hashes

Hashes for panel_jstree-0.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 10e6d6bc725ddbf2a09c032276bd8d81e7c2e5b0f7e5ca02034c050ec5459fb3
MD5 fb65d7c6674e82a60d13f6426e29552c
BLAKE2b-256 03e4c79ccd7c75224226929275852aa70ee95f9511b0e5e06256a885c4e4e907

See more details on using hashes here.

Supported by

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