Skip to main content

This purpose of this project ...

Project description

Python Versions License Test Results Binder Follow on Twitter LinkedIn

🧪 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()

Panel Chemistry Teaser

⭐ 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.

Hacktober Fest.

📙 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 Binder Binder Binder
NGL Viewer View View Binder Binder Binder
PDBe_MolStar View View Binder Binder Binder
Py3DMol Pane View View Binder Binder Binder

👩‍🏫 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.

JSME Editor

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-chemistry-0.2.1.tar.gz (46.7 kB view hashes)

Uploaded Source

Built Distribution

panel_chemistry-0.2.1-py3-none-any.whl (58.3 kB view hashes)

Uploaded Python 3

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