Embed Stlite frame into Sphinx documentation.
Project description
Embed Stlite frame into Sphinx documentation.
Overview
This is Sphinx extension to provide directive to render Streamlit application on document using Stlite.
When you use this, your document will display interactive contents.
Example
This is example to display table from pandas DataFrame.
.. stlite::
import streamlit as st
import pandas as pd
df = pd.DataFrame({
'first column': [1, 2, 3, 4],
'second column': [10, 20, 30, 40]
})
st.write(df)
If you want to know how does it display, go to demo page of document.
Usage
Install from PyPI (e.g. pip install atsphinx-stlite )
Add atsphinx.stlite to extensions in conf.py of your document.
Write contents refer to documents.
Build your document using HTML-based builders (e.g. make html )
Show it!
For contributing
Do you have a feedback to this?
When you want to contribute to this project, please follow the atsphinx’s common contributing guide.
License
This project is licensed under the Apache License 2.0. See it.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file atsphinx_stlite-0.2.1.tar.gz.
File metadata
- Download URL: atsphinx_stlite-0.2.1.tar.gz
- Upload date:
- Size: 87.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6bb97303bd89fd7e99c5691397aa0a81e861ad65444ddd37efba7770d228de54
|
|
| MD5 |
519364f8a7a9f3ca73cf6ece8ba24fa1
|
|
| BLAKE2b-256 |
bf1b7517a828a9866a1b8fe4731f0f085257052ce8f7d14554639fedff0aba4a
|
Provenance
The following attestation bundles were made for atsphinx_stlite-0.2.1.tar.gz:
Publisher:
release.yaml on atsphinx/stlite
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
atsphinx_stlite-0.2.1.tar.gz -
Subject digest:
6bb97303bd89fd7e99c5691397aa0a81e861ad65444ddd37efba7770d228de54 - Sigstore transparency entry: 761766969
- Sigstore integration time:
-
Permalink:
atsphinx/stlite@2ee4831de5707e478b437acc039582477521098d -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/atsphinx
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@2ee4831de5707e478b437acc039582477521098d -
Trigger Event:
push
-
Statement type:
File details
Details for the file atsphinx_stlite-0.2.1-py3-none-any.whl.
File metadata
- Download URL: atsphinx_stlite-0.2.1-py3-none-any.whl
- Upload date:
- Size: 8.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
341f1b7c1b641b51c84a41708933527c6a3d84e52a45a1911ad11a7aee606b43
|
|
| MD5 |
0aa3a5a4e9c2e427a24942f390e46b45
|
|
| BLAKE2b-256 |
5a400080f3ca6c872147911e63f7c69b55e56639c3af31af1405645b2231b028
|
Provenance
The following attestation bundles were made for atsphinx_stlite-0.2.1-py3-none-any.whl:
Publisher:
release.yaml on atsphinx/stlite
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
atsphinx_stlite-0.2.1-py3-none-any.whl -
Subject digest:
341f1b7c1b641b51c84a41708933527c6a3d84e52a45a1911ad11a7aee606b43 - Sigstore transparency entry: 761766983
- Sigstore integration time:
-
Permalink:
atsphinx/stlite@2ee4831de5707e478b437acc039582477521098d -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/atsphinx
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@2ee4831de5707e478b437acc039582477521098d -
Trigger Event:
push
-
Statement type: