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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file panel-chemistry-0.2.1.tar.gz.

File metadata

  • Download URL: panel-chemistry-0.2.1.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

Hashes for panel-chemistry-0.2.1.tar.gz
Algorithm Hash digest
SHA256 6530526032998c9bccb22dc9be1a7a458e31890b13cf00a19d32dbd979925e1c
MD5 359a8dd22bf851d8e6ce9400127eb4a5
BLAKE2b-256 50ae429fd777877552ed7d8a1433f57aefece967c14c1151da799f4f33c5cd1e

See more details on using hashes here.

File details

Details for the file panel_chemistry-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for panel_chemistry-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 168dd60509285a4695310160f54bf5f254a683ed8d3c2c02ddcbecfd216aa456
MD5 3202a0d37f9da71366725f927e4778c9
BLAKE2b-256 f742f83668710fb698a4d14b00b39f63ee74a4c3e138339732424145824a76f3

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 Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page