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
Example
Try the app, for different examples.
Quickstart
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.1.tar.gz
(4.4 kB
view hashes)
Built Distribution
Close
Hashes for st_speckmol-0.0.5.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c784901fdd4b1d695eb1de78028ccdff9d23de07e9c77f3c1adbaa038e66b06 |
|
MD5 | c9ab252a081ce4efb7739ac30313f0bb |
|
BLAKE2b-256 | 52017e81578e427a6c1cef5bb7c873e564fc3c5eb1296aa8cc82d18cf0725476 |