streamlit-faker is a library to very easily fake Streamlit commands
Project description
streamlit-faker
This repository introduces streamlit-faker
, a library to very easily fake Streamlit commands. You can use it to quickly draft a user interface or as a QA tool... or maybe something more (let us know!). It is built upon the great joke2k/faker project!
Introduction
Call any Streamlit command without parameters, and it will run the command with random parameters.
- Sample input:
# streamlit_app.py
from streamlit_faker import get_streamlit_faker
st_faker = get_streamlit_faker()
st_faker.subheader()
st_faker.markdown()
st_faker.selectbox()
st_faker.slider()
st_faker.map()
-
Now run
streamlit run streamlit_app.py
-
Sample output:
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
streamlit_faker-0.0.1.tar.gz
(8.2 kB
view hashes)
Built Distribution
Close
Hashes for streamlit_faker-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2f8c8e2d4d326480f33975f77802c9c17be68a6a8bf0d0f76f7dcbce7eb9b53 |
|
MD5 | 4f3e89816dbb57cdc79177e6571364cd |
|
BLAKE2b-256 | fffa17fb4f1251395ceb740afc1b776d201c59422f2cfbcc613705126e002a85 |