Skip to main content

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:

image

Project details


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)

Uploaded Source

Built Distribution

streamlit_faker-0.0.1-py3-none-any.whl (9.6 kB view hashes)

Uploaded Python 3

Supported by

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