Skip to main content

A WYSIWYG equation editor component for Streamlit

Project description

Streamlit-Equation-Editor

A WYSIWYG math expression editor for Streamlit using Mathlive math field and on-screen keyboard. This package is a modified version of Streamlit-Mathlive-Editor by Sina Golchi.

Installation instructions

pip install streamlit-equation-editor

Usage instructions

import streamlit as st
from st_equation_editor import mathfield

Tex, MathML = mathfield(value=r"\frac{1}{2} \times 5")

st.latex(Tex)
st.write(MathML)

Features

  • WYSIWYG math equation editor with virtual keyboard
  • Direct "Copy Equation" button for LaTeX output
  • Returns both LaTeX and MathML representations

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_equation_editor-0.3.2.tar.gz (485.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

streamlit_equation_editor-0.3.2-py3-none-any.whl (489.1 kB view details)

Uploaded Python 3

File details

Details for the file streamlit_equation_editor-0.3.2.tar.gz.

File metadata

File hashes

Hashes for streamlit_equation_editor-0.3.2.tar.gz
Algorithm Hash digest
SHA256 994c168ec7f4f9bc0ca839c40215343861897e7acf0f9054bbef0807fee46a34
MD5 2c788c0fc05826e386a9689c7b5a1515
BLAKE2b-256 4fe2c53ff5e293822274937b42ae67f18a23aa67bdcb84632eaf6805cff9b3c0

See more details on using hashes here.

File details

Details for the file streamlit_equation_editor-0.3.2-py3-none-any.whl.

File metadata

File hashes

Hashes for streamlit_equation_editor-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ffc38f465dc1ee9343b0fc907110f6752a5dbaf557235c080a607a0d7a38dbc3
MD5 8fc8dfaaf579f1d00bfb9c1945acb660
BLAKE2b-256 204a1236906ea327052f997df276dda3e81e6359515cd4bb4672c7422f386ffe

See more details on using hashes here.

Supported by

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