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.
🚀 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.
You can make a simple tree where you swap out the data.
You can also see a generic Tree app with a custom callback to generate random nodes.
⭐ 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 | |
PyPI Install | |
Github release | |
Python Versions | |
License |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for panel_jstree-0.3.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d241dbd9d7e7067488bcafa9a37946bbe8667b2f137b94820b9131c0aa89771b |
|
MD5 | 44b62fb0a9f1aaa60662e6011d158d47 |
|
BLAKE2b-256 | e5087406c98842eebd18d2b2ad61580d9b4b3566eef619b2444fa98735d2aeb0 |