streamlit-faker


Namestreamlit-faker JSON
Version 0.0.3 PyPI version JSON
download
home_page
Summarystreamlit-faker is a library to very easily fake Streamlit commands
upload_time2023-10-23 09:39:23
maintainer
docs_urlNone
author
requires_python>=3.6
license
keywords python streamlit faker
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <a href="https://fakker.streamlitapp.com" title="Python Version"><img src="https://static.streamlit.io/badges/streamlit_badge_black_white.svg"></a>
<a href="https://github.com/arnaudmiribel/streamlit-extras"> <img src="https://img.shields.io/badge/-%F0%9F%AA%A2%20featured%20extra-e8ded1"></img></a>

# 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](https://github.com/joke2k/faker) project!

## Get started

The package is available on PyPI!

```
pip install streamlit-faker
```

## Introduction

Call any Streamlit command (see [Streamlit docs](https://docs.streamlit.io) e.g. `.info()`, `subheader()`, `text_input()`...) **without** parameters using streamlit-faker, and it will execute the command with random parameters.

- Sample input:
```python
# 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:

<img width="686" alt="image" src="https://user-images.githubusercontent.com/7164864/194157363-f8078096-b5e4-40dd-acdf-4d5bedc5585b.png">

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "streamlit-faker",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "python,streamlit,faker",
    "author": "",
    "author_email": "Arnaud Miribel <arnaudmiribel@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/bc/14/8ad7e53d381a6c5da920e590e9a7521d542fbae55eb6ec842aaab58f2ff9/streamlit_faker-0.0.3.tar.gz",
    "platform": null,
    "description": "<a href=\"https://fakker.streamlitapp.com\" title=\"Python Version\"><img src=\"https://static.streamlit.io/badges/streamlit_badge_black_white.svg\"></a>\n<a href=\"https://github.com/arnaudmiribel/streamlit-extras\"> <img src=\"https://img.shields.io/badge/-%F0%9F%AA%A2%20featured%20extra-e8ded1\"></img></a>\n\n# streamlit-faker\n\nThis 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](https://github.com/joke2k/faker) project!\n\n## Get started\n\nThe package is available on PyPI!\n\n```\npip install streamlit-faker\n```\n\n## Introduction\n\nCall any Streamlit command (see [Streamlit docs](https://docs.streamlit.io) e.g. `.info()`, `subheader()`, `text_input()`...) **without** parameters using streamlit-faker, and it will execute the command with random parameters.\n\n- Sample input:\n```python\n# streamlit_app.py\nfrom streamlit_faker import get_streamlit_faker\n\nst_faker = get_streamlit_faker()\nst_faker.subheader()\nst_faker.markdown()\nst_faker.selectbox()\nst_faker.slider()\nst_faker.map()\n```\n\n- Don't forget to run `streamlit run streamlit_app.py`\n\n- Sample output:\n\n<img width=\"686\" alt=\"image\" src=\"https://user-images.githubusercontent.com/7164864/194157363-f8078096-b5e4-40dd-acdf-4d5bedc5585b.png\">\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "streamlit-faker is a library to very easily fake Streamlit commands",
    "version": "0.0.3",
    "project_urls": {
        "Bug Tracker": "https://github.com/arnaudmiribel/streamlit-faker/issues",
        "Homepage": "https://github.com/arnaudmiribel/streamlit-faker"
    },
    "split_keywords": [
        "python",
        "streamlit",
        "faker"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b02ed60c0214dc6bf626e37b9f37f7ac3a57c311946ebcc12c1fc0e7bcc4b8d6",
                "md5": "a3666ef49f89464a959626724a993fe1",
                "sha256": "caf410867b55b4877d8fe73cc987d089e1938f8e63594f1eb579e28015844215"
            },
            "downloads": -1,
            "filename": "streamlit_faker-0.0.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a3666ef49f89464a959626724a993fe1",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 14073,
            "upload_time": "2023-10-23T09:39:21",
            "upload_time_iso_8601": "2023-10-23T09:39:21.788277Z",
            "url": "https://files.pythonhosted.org/packages/b0/2e/d60c0214dc6bf626e37b9f37f7ac3a57c311946ebcc12c1fc0e7bcc4b8d6/streamlit_faker-0.0.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "bc148ad7e53d381a6c5da920e590e9a7521d542fbae55eb6ec842aaab58f2ff9",
                "md5": "c4c6de42e0891f1ae9b5bdaca9e5b0c7",
                "sha256": "bff0f053aa514a99313a3699746183b41111891c82d6e9b41b1c69a7d719bf2f"
            },
            "downloads": -1,
            "filename": "streamlit_faker-0.0.3.tar.gz",
            "has_sig": false,
            "md5_digest": "c4c6de42e0891f1ae9b5bdaca9e5b0c7",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 12680,
            "upload_time": "2023-10-23T09:39:23",
            "upload_time_iso_8601": "2023-10-23T09:39:23.603752Z",
            "url": "https://files.pythonhosted.org/packages/bc/14/8ad7e53d381a6c5da920e590e9a7521d542fbae55eb6ec842aaab58f2ff9/streamlit_faker-0.0.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-23 09:39:23",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "arnaudmiribel",
    "github_project": "streamlit-faker",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "streamlit-faker"
}
        
Elapsed time: 0.16459s