Skip to main content

jaclang_streamlit Plugin Documentation

The jaclang_streamlit plugin is a powerful tool that allows you to run and test Streamlit apps written in Jac. This documentation will guide you through the installation process and provide instructions on how to run and test your Jac Streamlit apps.

Installation

To install the jaclang_streamlit plugin, you can use pip:

pip install jaclang_streamlit

Running Jac Streamlit Apps

To run a Streamlit app written in Jac, you can use the following command:

jac streamlit app.jac

Replace app.jac with the path to your Jac Streamlit app file.

Generating Graphs with Jac Streamlit

If you want to visualize the graph of your Jac Streamlit app in a browser, you can use the following command:

jac dot_view app.jac

This will open up a Streamlit app in your browser, displaying the graph of your Jac Streamlit app.

Testing Jac Streamlit Apps

To test your Jac Streamlit app using the Streamlit testing framework, you can follow these steps:

  1. Import the AppTest class from jaclang_streamlit:
from jaclang_streamlit import AppTest
  1. Use the AppTest.from_jac_file(filename) method to create an instance of AppTest for your Jac Streamlit app:
app_test = AppTest.from_jac_file(filename)

Replace filename with the path to your Jac Streamlit app file.

  1. You can now use the app_test instance to test your Jac Streamlit app using the Streamlit testing methodology.

Please note that the testing methodology for Jac Streamlit apps is similar to the one used for regular Streamlit apps.

Metadata

Release files for jaclang-streamlit 0.0.3

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

Source distribution (sdist)

Source distribution for jaclang-streamlit 0.0.3
File Size Uploaded Provenance
jaclang_streamlit-0.0.3.tar.gz 3.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for jaclang-streamlit 0.0.3
File Interpreter ABI Platform
jaclang_streamlit-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 8.7 kB

Release files / jaclang_streamlit-0.0.3.tar.gz

Download URL jaclang_streamlit-0.0.3.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
554537cd44624c2735947fa03097e29848559aec9280af7454985d22c31134a4
BLAKE2b-256 checksum
How to use checksums
5d5ab9e3ac3ed621632264e415d49c54ece13fa25e4f5795ceb32eaa08c762e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.12.0 Linux/5.15.153.1-microsoft-standard-WSL2

Release files / jaclang_streamlit-0.0.3-py3-none-any.whl

Download URL jaclang_streamlit-0.0.3-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
853a7927362fd0c2b1a959c626b304e47d40d2f7e82c3747cc0cba2dad67dd17
BLAKE2b-256 checksum
How to use checksums
e2e8a7da7c3aec0fb050cf01b6cde71614583446d4f210ce88ba18d5ec16837c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.12.0 Linux/5.15.153.1-microsoft-standard-WSL2

Security for jaclang-streamlit 0.0.3

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.

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files No provenance

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