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.14.tar.gz (485.4 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.14-py3-none-any.whl (489.0 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for streamlit_equation_editor-0.3.14.tar.gz
Algorithm Hash digest
SHA256 0290a9a22cdba9ab6162d009cefebccf4d42edbb739f0e7914c56dc592e0354f
MD5 12ec54230f0e29f51e608fffb98b7cde
BLAKE2b-256 bd23c4946c70f2f3e98385e3234a3266197fe62645b65b4fb31c8f5ed396e60b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for streamlit_equation_editor-0.3.14-py3-none-any.whl
Algorithm Hash digest
SHA256 381310d3f49ab4f6161751d4ba35d1f3c4f1ac5aaa592689e3da99f11ea68f70
MD5 c919bda4aff3a5b778bcc32447018c87
BLAKE2b-256 29a38276383d4f62e581892b933a735b491c08d14596caff553c7578f742c7fe

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