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

Uploaded Python 3

File details

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

File metadata

  • Download URL: streamlit-mathlive-0.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 6e408d450fe372f0b9a4d11c34d99ba687ef103f12aafbca6e9ad90dc96a2e6c
MD5 29e8371c87634d9e80a67e1b115a7be3
BLAKE2b-256 d6abf3f4f8a86876638a9ddaf631f06fd3eadfdd0ac1496ce169ae0c5d8edb54

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for streamlit_mathlive-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0c5fec3a80ec9da0a77e163eaa23e3332027abbf1c7963957c7640571c3340e1
MD5 8a0b5ff3bc6141c5fb7782d76d168397
BLAKE2b-256 3c073ea307fc3357302e200579639474afae6eb55449a674e3f587f9368015bd

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