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.9.tar.gz (485.8 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.9-py3-none-any.whl (489.3 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for streamlit_equation_editor-0.3.9.tar.gz
Algorithm Hash digest
SHA256 2186239e79eda180b15b88d8b0c723772caccb6465b227a4c0723a6b1d94a4ad
MD5 be5d8b27a2ee32f5928ec1a702f2cb73
BLAKE2b-256 6473dea15f61e2be7d2935883b0ffb292ff58293f9eedc7ca598658921a4a89a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for streamlit_equation_editor-0.3.9-py3-none-any.whl
Algorithm Hash digest
SHA256 7d926aadbb8a9db3f0efef313e513a35688be9393295a2d5e26f56ca54a2958d
MD5 2dd08c0ca546c04b8de4459acb869129
BLAKE2b-256 9f01ebdefe9d0aad2a48fca73a023c4ef1c91628eac6b01bf14c55027bc97857

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