Skip to main content

Stspeckmol

A Streamlit Component for creating Speck molecular structures within Streamlit Web app.

Latest Release
PyPI Downloads

Installation

pip install st-speckmol

to upgrade use,

pip install --upgrade st-speckmol

Example

Try the app, for different examples.

Streamlit App

Quickstart

import streamlit as st
import glob
from st_speckmol import speck_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 = speck_plot(example_xyz)

Speclit demo

Video tutorial

See the tutorial video

How to Build PROTEIN VISUALIZATION WEB-APP using PYTHON and STREAMLIT | PART 1

How to Build PROTEIN VISUALIZATION WEB-APP using PYTHON and STREAMLIT | PART 1](https://youtu.be/jUh923Z4fuk)


During the development of the related and popular library Stmol, we introduced speck_plot() function for easy usage of both libraries simultaneously. However, the entire StSpeckmol has not yet been merged and extra(read new) functions such as add_speck_param is only available with this library.

# Installation of Stmol
pip install stmol==0.0.9

# Import Speck plot
from stmol import speck_plot

Incase you are using StSpeckmol for scientific purposes for speck visualization, make sure you use Stmol (https://doi.org/10.3389/fmolb.2022.990846) and cite as following,

Nápoles-Duarte JM, Biswas A,Parker MI, Palomares-Baez JP, Chávez-Rojo MA and Rodríguez-Valdez LM (2022), 
Stmol: A component for building interactive molecular visualizations within streamlit web-applications.
Front. Mol. Biosci. 9:990846. doi: 10.3389/fmolb.2022.990846

Note : 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

Speck Online

Speck Python package

Example-Source

Stmol

Metadata

Release files for st-speckmol 0.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for st-speckmol 0.0.6
File Size Uploaded Provenance Actions
st_speckmol-0.0.6.tar.gz 5.6 kB Without provenance Details for st_speckmol-0.0.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for st-speckmol 0.0.6
File Interpreter ABI Platform Actions
st_speckmol-0.0.6-py3-none-any.whl Python 3 none any Details for st_speckmol-0.0.6-py3-none-any.whl

Total release size: 11.5 kB

Release files / st_speckmol-0.0.6.tar.gz

Download URL st_speckmol-0.0.6.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d8d58c42dd05b2b86cfee72ada1ca1bf16a9147af9522a40ab929f918057bf3c
BLAKE2b-256 checksum
How to use checksums
44915ca9aef08135d65bfa7dac01c931018f871383bb819e870f3acdd8d6ce08
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.4

Release files / st_speckmol-0.0.6-py3-none-any.whl

Download URL st_speckmol-0.0.6-py3-none-any.whl
Size 5.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8d528a94ffe1e3811a6483513b5e8c5058af823a0ac51dac5f2e2035ba61647d
BLAKE2b-256 checksum
How to use checksums
3834ec9a9a6e61e6365281effd0c8dd28054bfc1d0d74eb4d8ae6a98c87ebe6d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.4

Security for st-speckmol 0.0.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page