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.5.tar.gz (485.6 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.5-py3-none-any.whl (489.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for streamlit_equation_editor-0.3.5.tar.gz
Algorithm Hash digest
SHA256 118ca2c47ddb64d97b105c92a0052acb007ec4a854b5c44c7111c6fc5e3d5cfd
MD5 b18fe9bd55ba4db9602b9d5fd537c6ab
BLAKE2b-256 2665bf30b72e38a3bf2d807fdb5e766b8d8e9b53b33a4e1d28b33227b7741a64

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for streamlit_equation_editor-0.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 2d14a29149255790393c153dc05bb4f98b2144c74e9d54dbc3a391cee923b059
MD5 ee4ee2d93aa236206e6555010230d1fd
BLAKE2b-256 28d932c5d8e7b5121fb0dfc25711029e12911f300226150dafaf80ea3a37610a

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