This purpose of this project ...
Project description
🧪 Panel-Chemistry
We want to
- make it super simple to do exploratory data analysis and develop high-quality Panel data apps within the domain of chemistry.
We provide
- the
panel-chemistry
python package of chemistry components for Panel. - example notebooks and data apps.
You can install and use the package as simple as.
pip install panel-chemistry
import panel as pn
from panel_chemistry.pane import NGLViewer # panel_chemistry needs to be imported before you run pn.extension()
pn.extension("ngl_viewer", sizing_mode="stretch_width", template="fast")
NGLViewer(object="1CRN", background="#F7F7F7", min_height=700, sizing_mode="stretch_both").servable()
⭐ Support
Please support Panel and awesome-panel by giving the projects a star on Github:
Thanks
❤️ Contribute
You can find good first issues in the issue tracker. To get started check out the DEVELOPER_GUIDE.
I would love to support and receive your contributions. Thanks.
📙 How to
Below we describe how to install and use this project.
🚀 Install for usage
You can install the package with pip
pip install panel-chemistry
or conda
conda install -c conda-forge panel-chemistry
👩🏫 Explore the examples online
Check out the panel-chemistry
reference guides on Binder
Guide | NB Viewer | Github Notebook | Jupyter Notebook | Jupyter Labs | Panel Apps |
---|---|---|---|---|---|
JSME Editor | View | View | |||
NGL Viewer | View | View | |||
PDBe_MolStar | View | View | |||
Py3DMol Pane | View | View |
👩🏫 Explore the examples locally
Run
pip install pip -U
pip install panel-chemistry[all]
git clone https://github.com/awesome-panel/panel-chemistry.git
cd panel-chemistry/examples
Then run
jupyter lab
or
panel serve reference/*.ipynb
🏃 Serve a data app
Add the below to a python file or notebook
import panel as pn
from panel_chemistry.widgets import JSMEEditor
pn.extension("jsme", sizing_mode="stretch_width")
smiles="N[C@@H](CCC(=O)N[C@@H](CS)C(=O)NCC(=O)O)C(=O)O"
editor = JSMEEditor(value=smiles, height=500, format="smiles")
editor.servable()
Run panel serve name_of_app.py
or panel_serve name_of_notebook.ipynb
.
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
File details
Details for the file panel-chemistry-0.2.0.tar.gz
.
File metadata
- Download URL: panel-chemistry-0.2.0.tar.gz
- Upload date:
- Size: 46.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | af4d3f6d10830a10d65e6c0ef3a7f8a607ff630e0b7729b4fccb4f49da1b73c4 |
|
MD5 | bdaa6cd60c3eaa53454ac1cfe66b863f |
|
BLAKE2b-256 | 2fafb87a13ac21382d10b5700cc167b02f7a17b967410fac76c8d98c590efb5b |
File details
Details for the file panel_chemistry-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: panel_chemistry-0.2.0-py3-none-any.whl
- Upload date:
- Size: 58.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34f7633622cdc2559c96e9f0dbbede1f82668129cb33d8e7d8962036f07280dc |
|
MD5 | eb475ddfd95b4fe031febb3fae2989a2 |
|
BLAKE2b-256 | 900b4a35b3e5492bff52d75849d04b0af961a7e5c5d0402b5efd069fa5ed2466 |