-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1b6e34e
commit 490d4a7
Showing
1 changed file
with
41 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,41 @@ | ||
Moved to: https://github.com/mik-laj/streamlit-ketcher | ||
# 🧪 Streamlit Ketcher | ||
|
||
[![GitHub][github_badge]][github_link] [![PyPI][pypi_badge]][pypi_link] | ||
|
||
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](https://lifescience.opensource.epam.com/ketcher/index.html). | ||
|
||
## Installation | ||
|
||
```shell | ||
pip install streamlit-ketcher | ||
``` | ||
|
||
## Getting started | ||
|
||
```python | ||
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][share_badge]][share_link] | ||
|
||
[![Preview][share_img]][share_link] | ||
|
||
[share_badge]: https://static.streamlit.io/badges/streamlit_badge_black_white.svg | ||
[share_link]: https://ketcher-editor.streamlit.app/ | ||
[share_img]: https://storage.googleapis.com/s4a-prod-share-preview/default/st_app_fallback_image.png | ||
|
||
[github_badge]: https://badgen.net/badge/icon/GitHub?icon=github&color=black&label | ||
[github_link]: https://github.com/mik-laj/streamlit-ketcher | ||
|
||
[pypi_badge]: https://badgen.net/pypi/v/streamlit-ketcher?icon=pypi&color=black&label | ||
[pypi_link]: https://pypi.org/project/streamlit-ketcher |