Skip to main content

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

img.png

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


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 details)

Uploaded Source

Built Distribution

streamlit_typst-1.0.5-py3-none-any.whl (7.8 MB view details)

Uploaded Python 3

File details

Details for the file streamlit_typst-1.0.5.tar.gz.

File metadata

  • Download URL: streamlit_typst-1.0.5.tar.gz
  • Upload date:
  • Size: 7.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.9.18 Linux/5.15.153.1-microsoft-standard-WSL2

File hashes

Hashes for streamlit_typst-1.0.5.tar.gz
Algorithm Hash digest
SHA256 e0c9b54e679d7cb5bf0c11731f7164f0aeaa183c61e95beeedae8e3070a7ab82
MD5 3e13e37af95209819697d5c28e6ce555
BLAKE2b-256 ec1fac0038940cef9819954bba044871d2893570d3d641b23969df7bac25de13

See more details on using hashes here.

File details

Details for the file streamlit_typst-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: streamlit_typst-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 7.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.9.18 Linux/5.15.153.1-microsoft-standard-WSL2

File hashes

Hashes for streamlit_typst-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 08ed43b8193d7960b00d91a36de5a1de4f335cef858f18f3dcc53b0c77f22f43
MD5 188e339dc52bd36eca6972f914264e33
BLAKE2b-256 8071d59a9d6a978018e580d5dca1595839bffd8d6cc30c107fbde7b0a79905f3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page