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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for streamlit_equation_editor-0.3.19.tar.gz
Algorithm Hash digest
SHA256 0d53300dde61c162fe6d59f4b0d18f8722796aa77a8dad847af75e359594373b
MD5 aac3ed77de1d95c4322ec71445da00f0
BLAKE2b-256 b13331d4c27d79a37a818bb945efced8bb7c4c1066e467ff6ffc92b85bd08c0a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for streamlit_equation_editor-0.3.19-py3-none-any.whl
Algorithm Hash digest
SHA256 7f5c0b1da8eb5ffae57dfa8aa6b0043213ff74faebf6bcde3e62c26457bdcac8
MD5 a38387f3b43a46d76960896895688972
BLAKE2b-256 12973c62c160e9a8ca6a3509925777a35be7e637396d6533ffead6a4aa03f42e

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