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!

Get started

The package is available on PyPI!

pip install streamlit-faker

Introduction

Call any Streamlit command (see Streamlit docs e.g. .info(), subheader(), text_input()...) without parameters using streamlit-faker, and it will execute 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()
  • Don't forget to 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.4.tar.gz (14.5 kB view details)

Uploaded Source

Built Distribution

streamlit_faker-0.0.4-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

Details for the file streamlit_faker-0.0.4.tar.gz.

File metadata

  • Download URL: streamlit_faker-0.0.4.tar.gz
  • Upload date:
  • Size: 14.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for streamlit_faker-0.0.4.tar.gz
Algorithm Hash digest
SHA256 dc94cbfafcf035b171cb989531a1f19f4241e5b3c2e61311ed91a02ed188fed0
MD5 95ecbf0c1798420715441acadc4cf7af
BLAKE2b-256 65a9312137533f56a634d7774eaaf0c5438322ae7c6ac84429a2cfd2d5f6f841

See more details on using hashes here.

Provenance

The following attestation bundles were made for streamlit_faker-0.0.4.tar.gz:

Publisher: pypi_action.yml on arnaudmiribel/streamlit-faker

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

File details

Details for the file streamlit_faker-0.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for streamlit_faker-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 1802e92b5f1164f1f7c640c44fd5a349415b9a7f023fa912a10e03161de08ec8
MD5 25aa493ffe037d5e81bb4be90156bf4d
BLAKE2b-256 aa5219755b6a87750640a1f5232c8c80ad46df3c2afcaf25594a5884756d220c

See more details on using hashes here.

Provenance

The following attestation bundles were made for streamlit_faker-0.0.4-py3-none-any.whl:

Publisher: pypi_action.yml on arnaudmiribel/streamlit-faker

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 Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page