Streamlit component for for Speck molecule visualization.
Project description
Specklit
Speck figures to Streamlit Web App
Latest Release | |
PyPI Downloads |
Installation
pip install st-speckmol==0.0.3
Example
import streamlit as st
import glob
from st_speckmol import spec_plot
# Example files path
ex_files = glob.glob("examples/*.xyz")
with st.sidebar:
example_xyz = st.selectbox("Select a molecule",ex_files)
f = open(example_xyz,"r")
example_xyz = f.read()
res = spec_plot(example_xyz)
Meanwhile,ipyspeck in their latest release 0.6.1
has added the stspec module [https://github.com/avrabyt/Specklit/issues/1#issuecomment-1134798584], therefore feel free to use whatever convinient, as long as you are interested to have fun with beautiful speck strcutures 🧬 and streamlit 🎈 🎉
References
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
st_speckmol-0.0.5.tar.gz
(4.4 kB
view hashes)
Built Distribution
Close
Hashes for st_speckmol-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd6eb51d23a226e487a25e113e95a30418c2b69b4bef82f55815ba042e0887c2 |
|
MD5 | 3cc2c7a97cdb311e8dbe2d89dc50ea26 |
|
BLAKE2b-256 | 9f74af56328d947300caf46ad66353b5cefb0532810918d22e84a5cfbf9e6ac4 |