Skip to main content

streamlit_3d

3d model viewer

Installation instructions

pip install streamlit-3d

Usage instructions

    # pip install streamlit-3d
    import streamlit as st 
    import streamlit_3d as sd

    md=st.selectbox("3D Model:",["https://alteirac.com/models/helmet/scene.gltf",
                                 "https://alteirac.com/models/engine/scene.gltf"
                                 ])
    # if you want to load existing Annotations:                                
    value = sd.streamlit_3d(height=600,model=md,points=[{"description":"LEFT_LIGHT",
                                            "data-position":{"x":0.4595949207254826,"y":0.40998085773554555,"z":0.33846317660071373},
                                            "data-normal":{"x":-0.18705895743345607,"y":-0.3420641705224677,"z":0.9208697246020658}}
                                            ])
    # if you simply want to show the model:
    # value = sd.streamlit_3d(model=md,height=700)                                        
    st.write(value)

Metadata

Release files for streamlit-3d 0.1.12

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

Source distribution (sdist)

Source distribution for streamlit-3d 0.1.12
File Size Uploaded Provenance Actions
streamlit-3d-0.1.12.tar.gz 6.8 kB Without provenance Details for streamlit-3d-0.1.12.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for streamlit-3d 0.1.12
File Interpreter ABI Platform Actions
streamlit_3d-0.1.12-py3-none-any.whl Python 3 none any Details for streamlit_3d-0.1.12-py3-none-any.whl

Total release size: 14.7 kB

Release files / streamlit-3d-0.1.12.tar.gz

Download URL streamlit-3d-0.1.12.tar.gz
Size 6.8 kB
Tags Source
SHA-256 checksum
How to use checksums
3db72478457e3c2fcedff08c3ee8d92aead5265d534e263d673e791a32f6f517
BLAKE2b-256 checksum
How to use checksums
efd4300f4722436be9a2e75b1bfd3eeb1d51f86ee652b9a28c5c1f87d499c19e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.0

Release files / streamlit_3d-0.1.12-py3-none-any.whl

Download URL streamlit_3d-0.1.12-py3-none-any.whl
Size 7.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
382f8ea0a414f77e23c52598a50322f3f45bb1deb5700970b7097b15512f1e10
BLAKE2b-256 checksum
How to use checksums
fdc2045446bb9ed777057033f4dabefcd8c850e46839ddbf33635f20ad0e73c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.0

Security for streamlit-3d 0.1.12

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