streamlit-mermaid


Namestreamlit-mermaid JSON
Version 0.2.0 PyPI version JSON
download
home_pagehttps://github.com/AI-Yash/st-chat
SummaryA streamlit component, to visualize mermaid
upload_time2023-07-09 02:27:48
maintainer
docs_urlNone
authornakanat
requires_python>=3.10
license
keywords mermaid streamlit streamlit-component
VCS
bugtrack_url
requirements streamlit streamlit-chat requests
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # streamlit-mermaid

Streamlit Component, for Mermaid.

## Installation

```bash
pip install streamlit-mermaid
```

## Quick start

```py
import streamlit_mermaid as stmd
import streamlit as st

code = """
graph TD
    A --> B
"""

mermaid = stmd.st_mermaid(code)
st.write(mermaid)
```

```bash
streamlit run example.py
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/AI-Yash/st-chat",
    "name": "streamlit-mermaid",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": "",
    "keywords": "mermaid streamlit streamlit-component",
    "author": "nakanat",
    "author_email": "nekanat.stock@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/4b/d7/cfb2b1fdebc736cd22d31f5f87debf8550c3bf616ebd290a9c2bf7d7e0a6/streamlit-mermaid-0.2.0.tar.gz",
    "platform": null,
    "description": "# streamlit-mermaid\n\nStreamlit Component, for Mermaid.\n\n## Installation\n\n```bash\npip install streamlit-mermaid\n```\n\n## Quick start\n\n```py\nimport streamlit_mermaid as stmd\nimport streamlit as st\n\ncode = \"\"\"\ngraph TD\n    A --> B\n\"\"\"\n\nmermaid = stmd.st_mermaid(code)\nst.write(mermaid)\n```\n\n```bash\nstreamlit run example.py\n```\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "A streamlit component, to visualize mermaid",
    "version": "0.2.0",
    "project_urls": {
        "Homepage": "https://github.com/AI-Yash/st-chat"
    },
    "split_keywords": [
        "mermaid",
        "streamlit",
        "streamlit-component"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4bd7cfb2b1fdebc736cd22d31f5f87debf8550c3bf616ebd290a9c2bf7d7e0a6",
                "md5": "f8f9872eb452ed8d4aa67e81a8d47e36",
                "sha256": "a7883f63be991a378b2c327efae9a03ae49e830481659ae1a955bf68597f9c48"
            },
            "downloads": -1,
            "filename": "streamlit-mermaid-0.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "f8f9872eb452ed8d4aa67e81a8d47e36",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 3762617,
            "upload_time": "2023-07-09T02:27:48",
            "upload_time_iso_8601": "2023-07-09T02:27:48.522310Z",
            "url": "https://files.pythonhosted.org/packages/4b/d7/cfb2b1fdebc736cd22d31f5f87debf8550c3bf616ebd290a9c2bf7d7e0a6/streamlit-mermaid-0.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-07-09 02:27:48",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "AI-Yash",
    "github_project": "st-chat",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "streamlit",
            "specs": []
        },
        {
            "name": "streamlit-chat",
            "specs": [
                [
                    "==",
                    "0.1.0"
                ]
            ]
        },
        {
            "name": "requests",
            "specs": []
        }
    ],
    "lcname": "streamlit-mermaid"
}
        
Elapsed time: 0.08933s