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. image

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.3.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_mathlive-0.0.3-py3-none-any.whl (489.2 kB view details)

Uploaded Python 3

File details

Details for the file streamlit-mathlive-0.0.3.tar.gz.

File metadata

  • Download URL: streamlit-mathlive-0.0.3.tar.gz
  • Upload date:
  • Size: 485.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.0

File hashes

Hashes for streamlit-mathlive-0.0.3.tar.gz
Algorithm Hash digest
SHA256 48f080d5cbb45706042018ca9ab9ff41399c07ca1852d6b2cf090fd82fd73607
MD5 a213e223bd93202f728b68335a0daafe
BLAKE2b-256 e04cf000f7c45133ad39a1e72c10c0a857359428c7d769ed464dd58d9ff9a68f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for streamlit_mathlive-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 85e4fd187c4e6d13219f9587b919eb41c264a86402a8b17b6f0fab745d700c85
MD5 4d4adc15aec958947c159359f787bebd
BLAKE2b-256 133ece4f73bc7bccf662895ebf12b0b22c06ec8307ca637a8e1bf4de0f2f49fd

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