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.17.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.17-py3-none-any.whl (991.3 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for streamlit_equation_editor-0.3.17.tar.gz
Algorithm Hash digest
SHA256 af37118fb135ecbadbda4f3ddc9c52fda93031ca865c149a985269faa57e42ec
MD5 cd2587690de5cda917ec39431ff80d12
BLAKE2b-256 522bf819c77a87d1969755144387d38d5b895a23312427f2ad21f5f08755596c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for streamlit_equation_editor-0.3.17-py3-none-any.whl
Algorithm Hash digest
SHA256 fd58d0b96c510c5b7ddaddf91706caaede89753853a906708fe7f45cd6540ca1
MD5 8f9612845d498e72a801cc3f4e620fc1
BLAKE2b-256 50bd1933fbb89f8b283310e693cc089f1f3d9ec614cbd91ddda8574cedf53ba8

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