A Streamlit component to display diff betoween two strings
Project description
streamlit-diff-viewer
git-like diff viewer for streamlit webapp
Installation
pip install streamlit-typst
Usage
from streamlit_typst import st_typst
text = "a = 1"
st_typst(text)
run example:
streamlit run example.py
Buiding from source
Prerequisites
- nodejs >= 18.x
- yarn >= 1.22.x
- poetry >= 1.2.x
- python >= 3.8.x
Building
./build.sh
Publishing
poetry publish
License
This project is licensed under the MIT License - see the LICENSE file for details
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
streamlit_typst-1.0.5.tar.gz
(7.8 MB
view hashes)
Built Distribution
Close
Hashes for streamlit_typst-1.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08ed43b8193d7960b00d91a36de5a1de4f335cef858f18f3dcc53b0c77f22f43 |
|
MD5 | 188e339dc52bd36eca6972f914264e33 |
|
BLAKE2b-256 | 8071d59a9d6a978018e580d5dca1595839bffd8d6cc30c107fbde7b0a79905f3 |