Skip to main content

streamlit-gpt-vis

Latest Stable Version Pypi Download

Streamlit binding for @AntV/GPT-Vis Components for GPTs, generative AI, and LLM projects. Not only UI Components.

Installation

pip install streamlit-gpt-vis

Usage

import streamlit as st
from streamlit_gpt_vis import set_gpt_vis

content = '''
# GPT-VIS \n\nComponents for GPTs, generative AI, and LLM projects. Not only UI Components.

Here’s a visualization of Haidilao's food delivery revenue from 2013 to 2022. You can see a steady increase over the years, with notable *growth* particularly in recent years.

\`\`\`vis-chart
{"type": "line","data": [{"time":2013,"value":59.3},{"time":2014,"value":64.4},{"time":2015,"value":68.9},{"time":2016,"value":74.4},{"time":2017,"value":82.7},{"time":2018,"value":91.9},{"time":2019,"value":99.1},{"time":2020,"value":101.6},{"time":2021,"value":114.4},{"time":2022,"value":121}]}
\`\`\`
'''

set_gpt_vis(content)

API

set_gpt_vis(content: str, config: dict = None)

License

MIT

Metadata

Release files for streamlit-gpt-vis 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 streamlit-gpt-vis 0.0.3
File Size Uploaded
streamlit-gpt-vis-0.0.3.tar.gz 1.4 MB Details

Built distribution (wheel)

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

Total release size: 2.8 MB

Release files / streamlit-gpt-vis-0.0.3.tar.gz

Download URL streamlit-gpt-vis-0.0.3.tar.gz
Size 1.4 MB
Tags Source
SHA-256 checksum
How to use checksums
270c8ba59316e02ccb68e59e6e9758e4f83534eae5a57d89f52b3359828cb6c3
BLAKE2b-256 checksum
How to use checksums
ac5f4fb1c91f949eb982aa30fd23e9b7b824c26fd75ff35561ce4f29d9723a02
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.9.6 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/1.0.0 urllib3/1.26.18 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.2

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

Download URL streamlit_gpt_vis-0.0.3-py3-none-any.whl
Size 1.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
c9b562ae702c46bb57abbc4bb404d2dbbd0f7be31b09f0ce0991fa0f665e7b28
BLAKE2b-256 checksum
How to use checksums
7896358fbe6948cf38cb660fca8b6aa064a50e7fead75212f7ef72ea397b5749
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.9.6 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/1.0.0 urllib3/1.26.18 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.2

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files

0.0.2

2 release files

0.0.1

2 release files

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