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.8.tar.gz (485.7 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.8-py3-none-any.whl (489.2 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for streamlit_equation_editor-0.3.8.tar.gz
Algorithm Hash digest
SHA256 b9cf334cfc55c1e7e2493f638c3bc402066c394cae3f4b2dd6899de5c5a71e26
MD5 496a318843e734b6b1ae6d3d9558e011
BLAKE2b-256 09ea996c9a31c33507aeec53fd1c8b18fdaf4472e77c5fc99df6280078a2f8ad

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for streamlit_equation_editor-0.3.8-py3-none-any.whl
Algorithm Hash digest
SHA256 5172f1f059f3945e2aac2277590fafebd9815a5c06b8d5ebdc0f7a44178db1b2
MD5 87f98ab22ab76dc7be501b3f3c8c7483
BLAKE2b-256 de443171fad77bf0450b73d27e9c51c8418cbc250ac24dd6b7b562f8fcad863d

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