Skip to main content

This package makes it easy to work with Chemistry using Python and HoloViz Panel

Project description

🧪 Panel-Chemistry

👨‍🔬📈🛠️🐍❤️

Python Versions Style Black License Test Results Follow on Twitter

The purpose of the panel-chemistry project is to make it really easy for you to do exploratory data analysis and build powerful data and viz tools within the domain of Chemistry using Python and HoloViz Panel.

Panel Chemistry Teaser

Check out the panel-chemistry examples on Binder

Jupyter Notebook Jupyter Labs Panel Apps
Binder Binder Binder

🏁 Background

This project was started by the discussion How to display JSME molecular editor with Panel? in the Panel Community Forum

🏃 Getting Started

pip install panel-chemistry

Run the below in a Notebook or using panel serve NAME_OF_SCRIPT.py.

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

JSME Editor

👩‍🏫 Examples

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
Py3DMol Pane View View Binder Binder Binder

💡 Inspiration

🎁 Contributing

If you want to contribute reach out via Github Issues or in the Contributor Community Forum on Gitter: https://gitter.im/panel-chemistry/community#

For more details see the Developer Guide

FAQ

How do I Install with Conda?

You can do

conda install pip
pip install panel-chemistry

You can also include panel-chemistry in your environment.yaml file as described on Stack Overflow: Combining conda environment.yml with pip requirements.txt.

📰 Change Log

  • 0.0.9: Add Py3DMol pane. Update to Panel 0.12.4.

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.0.10.tar.gz (49.4 kB view details)

Uploaded Source

Built Distribution

panel_chemistry-0.0.10-py3-none-any.whl (61.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: panel-chemistry-0.0.10.tar.gz
  • Upload date:
  • Size: 49.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.4

File hashes

Hashes for panel-chemistry-0.0.10.tar.gz
Algorithm Hash digest
SHA256 ae2aaa672aa23e154fa4d167092d7c65cb58d0c47b03c7e44df6686f2e6ff9dc
MD5 4a7373050a95cac9d6c7f942979e49ac
BLAKE2b-256 7690e7edc2151dd0f874658d309e3ec1f70a24bb16a6a45a87dd5834ad3811af

See more details on using hashes here.

File details

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

File metadata

  • Download URL: panel_chemistry-0.0.10-py3-none-any.whl
  • Upload date:
  • Size: 61.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.4

File hashes

Hashes for panel_chemistry-0.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 d3ef1f7883f3f1568f6cdbba25d2f45ec2e8cd7f4055a56a5b2a6e527bb87e2e
MD5 836bd9f06b5b2e138e4b5f110a370a31
BLAKE2b-256 d7e344e2fbfd7e0224f6e0c46e44fb012d50bfba5374539ef93e007a441b3f8e

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