Skip to main content

A WYSWYG math expression editor for Streamlit using MathLive mathfield and on-screen keyboard.

Project description

Streamlit-Mathlive-Editor

A WYSWYG math expression editor for Streamlit using Mathlive math field and on-screen keyboard. Additionally, the component returns the MathML expression of the mathematical expression in the field using MathJaX.

Installation instructions

pip install streamlit-mathlive

Usage instructions

import streamlit as st
from st_mathlive import mathfield

Tex, MathML = mathfield(title="Equation 1", value=r"\frac{1}{2} \times 5",)

st.latex(Tex)
st.write(MathML)

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_mathlive-0.0.2.tar.gz (486.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

streamlit_mathlive-0.0.2-py3-none-any.whl (977.9 kB view details)

Uploaded Python 3

File details

Details for the file streamlit_mathlive-0.0.2.tar.gz.

File metadata

  • Download URL: streamlit_mathlive-0.0.2.tar.gz
  • Upload date:
  • Size: 486.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for streamlit_mathlive-0.0.2.tar.gz
Algorithm Hash digest
SHA256 69e1e67d38f216ab5f140e4fc7320f1f3fc608553e2caf931d0733ccba6d2e3c
MD5 41a0aa0f7395d34770150404ead1483a
BLAKE2b-256 e3df75492e8472039c22977ccb16f2ba189c4be35d498a7ae2a3057d71a100cd

See more details on using hashes here.

File details

Details for the file streamlit_mathlive-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for streamlit_mathlive-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3155555f4e59e2d7237e05fed3ac6475e1bf0b7bb121216fd61fa40435d55abf
MD5 be4145e4801b816ac9db4f60d95958a1
BLAKE2b-256 432f1080e85a72b750389d10637efc97f82c7aa1cdd4dc924cda49dacd5be043

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