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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

streamlit_ketcher-0.0.1-py3-none-any.whl (7.1 MB view details)

Uploaded Python 3

File details

Details for the file streamlit_ketcher-0.0.1.tar.gz.

File metadata

  • Download URL: streamlit_ketcher-0.0.1.tar.gz
  • Upload date:
  • Size: 7.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.13

File hashes

Hashes for streamlit_ketcher-0.0.1.tar.gz
Algorithm Hash digest
SHA256 bb6201f28fc3020579c74d56bc819d1ed99af3430cf164fb964f6adbdd0e8b89
MD5 971e7cecb22f6fd9fd98f9ed0a57516d
BLAKE2b-256 8bd396b14d2594d52b718d87bcadecb72712059cc68db50e47444fe01ec45447

See more details on using hashes here.

File details

Details for the file streamlit_ketcher-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for streamlit_ketcher-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b8e944e06e938c0b072ed013444d68213d807e224d96f5b1d6be39658ff6233a
MD5 0f2007b65c12cb3cc583845fbd0df57f
BLAKE2b-256 4871c3835b7ffcdb545ec0154557942f36bf221103e7c830671296b5a6572f25

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page