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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for streamlit_equation_editor-0.3.10.tar.gz
Algorithm Hash digest
SHA256 375a5f9696ab4826a294bf4d8976304fb11055e64ff01ae97134e3e70ff117c9
MD5 0d6ed6bb31676d2bccb972b7896257b3
BLAKE2b-256 776e74aa3224163e5a7d3c13926dfb77364546f2140d9eb77d40d22e74cb59a9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for streamlit_equation_editor-0.3.10-py3-none-any.whl
Algorithm Hash digest
SHA256 95f0074b2da12284d5dbc444c86ce39c6bdcdfc60d34c75e723f057047adbaf4
MD5 280502dc15a84099d3aac63ffc65eea6
BLAKE2b-256 4eef656cb9d4044c7a19578648844c2fad1f908df46d8e0fce461d97b0462639

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