Skip to main content

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

  1. Install from PyPI (e.g. pip install atsphinx-stlite )

  2. Add atsphinx.stlite to extensions in conf.py of your document.

  3. Write contents refer to documents.

  4. Build your document using HTML-based builders (e.g. make html )

  5. 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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

atsphinx_stlite-0.2.1.tar.gz (87.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

atsphinx_stlite-0.2.1-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

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

Hashes for atsphinx_stlite-0.2.1.tar.gz
Algorithm Hash digest
SHA256 6bb97303bd89fd7e99c5691397aa0a81e861ad65444ddd37efba7770d228de54
MD5 519364f8a7a9f3ca73cf6ece8ba24fa1
BLAKE2b-256 bf1b7517a828a9866a1b8fe4731f0f085257052ce8f7d14554639fedff0aba4a

See more details on using hashes here.

Provenance

The following attestation bundles were made for atsphinx_stlite-0.2.1.tar.gz:

Publisher: release.yaml on atsphinx/stlite

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file atsphinx_stlite-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for atsphinx_stlite-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 341f1b7c1b641b51c84a41708933527c6a3d84e52a45a1911ad11a7aee606b43
MD5 0aa3a5a4e9c2e427a24942f390e46b45
BLAKE2b-256 5a400080f3ca6c872147911e63f7c69b55e56639c3af31af1405645b2231b028

See more details on using hashes here.

Provenance

The following attestation bundles were made for atsphinx_stlite-0.2.1-py3-none-any.whl:

Publisher: release.yaml on atsphinx/stlite

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page