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.18.tar.gz (983.1 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.18-py3-none-any.whl (991.4 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for streamlit_equation_editor-0.3.18.tar.gz
Algorithm Hash digest
SHA256 89bca661fed802f4269afda84feb1370fe5aa9422b45d151a1a71e3b182d5fe4
MD5 5ae09cb484ba75a4dde93574273d2a94
BLAKE2b-256 c7b08a6ce035c69fecd3f3619386e4fac5d4987d3491541fa160af9b42976764

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for streamlit_equation_editor-0.3.18-py3-none-any.whl
Algorithm Hash digest
SHA256 31433e3c0d3d536c6e18527dabf42b3e4e18c88b77a121db3901c806271e7add
MD5 006e4e3672763bb40199605fd8625f57
BLAKE2b-256 a3e32c387fd66516c977fe7eecec85588456c6d2984f0525b2500d496e8762fd

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