streamlit-typst


Namestreamlit-typst JSON
Version 1.0.5 PyPI version JSON
download
home_pageNone
SummaryA Streamlit component to display diff betoween two strings
upload_time2024-07-27 06:05:51
maintainerNone
docs_urlNone
authorXueyuan Lin
requires_python!=2.7.*,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,!=3.7.*,>=3.8
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # streamlit-diff-viewer
git-like diff viewer for streamlit webapp

![](docs/head.png)

## Installation

```bash
pip install streamlit-typst
```

## Usage

```python
from streamlit_typst import st_typst

text = "a = 1"
st_typst(text)
```

run example:

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

![img.png](docs/img.png)

## Buiding from source

### Prerequisites

- nodejs >= 18.x
- yarn >= 1.22.x
- poetry >= 1.2.x
- python >= 3.8.x

### Building

```bash
./build.sh
```

### Publishing

```bash
poetry publish
```

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "streamlit-typst",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "!=2.7.*,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,!=3.7.*,>=3.8",
    "maintainer_email": null,
    "keywords": null,
    "author": "Xueyuan Lin",
    "author_email": "linxy59@mail2.sysu.eud.cn",
    "download_url": "https://files.pythonhosted.org/packages/ec/1f/ac0038940cef9819954bba044871d2893570d3d641b23969df7bac25de13/streamlit_typst-1.0.5.tar.gz",
    "platform": null,
    "description": "# streamlit-diff-viewer\ngit-like diff viewer for streamlit webapp\n\n![](docs/head.png)\n\n## Installation\n\n```bash\npip install streamlit-typst\n```\n\n## Usage\n\n```python\nfrom streamlit_typst import st_typst\n\ntext = \"a = 1\"\nst_typst(text)\n```\n\nrun example:\n\n```bash\nstreamlit run example.py\n```\n\n![img.png](docs/img.png)\n\n## Buiding from source\n\n### Prerequisites\n\n- nodejs >= 18.x\n- yarn >= 1.22.x\n- poetry >= 1.2.x\n- python >= 3.8.x\n\n### Building\n\n```bash\n./build.sh\n```\n\n### Publishing\n\n```bash\npoetry publish\n```\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A Streamlit component to display diff betoween two strings",
    "version": "1.0.5",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8071d59a9d6a978018e580d5dca1595839bffd8d6cc30c107fbde7b0a79905f3",
                "md5": "188e339dc52bd36eca6972f914264e33",
                "sha256": "08ed43b8193d7960b00d91a36de5a1de4f335cef858f18f3dcc53b0c77f22f43"
            },
            "downloads": -1,
            "filename": "streamlit_typst-1.0.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "188e339dc52bd36eca6972f914264e33",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "!=2.7.*,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,!=3.7.*,>=3.8",
            "size": 7840263,
            "upload_time": "2024-07-27T06:05:48",
            "upload_time_iso_8601": "2024-07-27T06:05:48.404546Z",
            "url": "https://files.pythonhosted.org/packages/80/71/d59a9d6a978018e580d5dca1595839bffd8d6cc30c107fbde7b0a79905f3/streamlit_typst-1.0.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ec1fac0038940cef9819954bba044871d2893570d3d641b23969df7bac25de13",
                "md5": "3e13e37af95209819697d5c28e6ce555",
                "sha256": "e0c9b54e679d7cb5bf0c11731f7164f0aeaa183c61e95beeedae8e3070a7ab82"
            },
            "downloads": -1,
            "filename": "streamlit_typst-1.0.5.tar.gz",
            "has_sig": false,
            "md5_digest": "3e13e37af95209819697d5c28e6ce555",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "!=2.7.*,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,!=3.7.*,>=3.8",
            "size": 7838215,
            "upload_time": "2024-07-27T06:05:51",
            "upload_time_iso_8601": "2024-07-27T06:05:51.966816Z",
            "url": "https://files.pythonhosted.org/packages/ec/1f/ac0038940cef9819954bba044871d2893570d3d641b23969df7bac25de13/streamlit_typst-1.0.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-27 06:05:51",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "streamlit-typst"
}
        
Elapsed time: 0.56815s