Streamlit Molecular Selection
Install
pip install streamlit-molecular-selection
Usage
import streamlit as st
#st.write(st_molecule_selection('CC(C)CN(CC(C(CC1CCCCC1)NC(OC1C(CCO2)C2OC1)=O)O)S(C(CC1)CCC1N)(=O)=O', height=100))
st.write(st_molecule_selection('CC(C)CN(CC(C(CC1CCCCC1)NC(OC1C(CCO2)C2OC1)=O)O)S(C(CC1)CCC1N)(=O)=O', nop_selection=True,
preset_selections=[0, 1, 2, 4, 5],
key='2'))
with open('examples/3d20_ligand.sdf') as f:
st.write(st_molecule_selection(f.read(), ftype='mol', key='4'))
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file streamlit-molecule-selection-0.0.7.tar.gz.
File metadata
- Download URL: streamlit-molecule-selection-0.0.7.tar.gz
- Upload date:
- Size: 1.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/4.0.2 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b7a58397f3f200c2b514b791b947141e69aed186a806a4be0c359c6e03fc8ac8
|
|
| MD5 |
8a63c38ccb3ec5385df1ec962f63e87d
|
|
| BLAKE2b-256 |
1884b582af3638ce5cb60371b1756bce7027166b24ae4fb5d749f3485220178b
|