Skip to main content

Ketcher editor component for Streamlit.

Project description

🧪 Streamlit Ketcher

GitHub PyPI

Streamlit components that adds the ability to draw chemical compounds. This is a critical dependency for most drug discovery / drug design / cheminformatics applications.

It is based on Ketcher.

Installation

pip install streamlit-ketcher

Getting started

import streamlit as st

from streamlit_ketcher import st_ketcher

molecule = st.text_input("Molecule", "CCO")
smile_code = st_ketcher(molecule)
st.markdown(f"Smile code: ``{smile_code}``")

Demo

Open in Streamlit

Preview

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

streamlit_ketcher-0.0.1.tar.gz (7.1 MB view hashes)

Uploaded Source

Built Distribution

streamlit_ketcher-0.0.1-py3-none-any.whl (7.1 MB 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