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.1.0.tar.gz (485.9 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.1.0-py3-none-any.whl (489.4 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for streamlit_equation_editor-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e503f99798555338783dd24b114648a0135b5e10e1f47d82b9eaa90894f4ec32
MD5 dcc48ef727633ee7c5a0de4e480f0f6f
BLAKE2b-256 213eaed10364a119610d79dea7998d74214770b63d7d9f0a85e7185fd6074517

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for streamlit_equation_editor-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b158e42bdcfc7b82027708ce13fa5c7d204d8d650e43a5996a6af552f7b82d0c
MD5 d22834b45e4563e3e3a8fe3d832875f8
BLAKE2b-256 35fbb2afb8facf535ed39f54a285dfc6efd35919392783bd4fd5e9f6dbb4e2ef

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