Skip to content

add mitex-python#198

Open
e-zz wants to merge 2 commits intomitex-rs:mainfrom
e-zz:main
Open

add mitex-python#198
e-zz wants to merge 2 commits intomitex-rs:mainfrom
e-zz:main

Conversation

@e-zz
Copy link

@e-zz e-zz commented Sep 11, 2025

Hi, I've created Python bindings for mitex using PyO3.

Example usage:

import mitex_python
result = mitex_python.convert_latex_math("\\frac{1}{2}")
print(result)   # frac(1, 2)

This should be useful for Python developers needing LaTeX conversion capabilities. For installation instructions and complete documentation, please see crates/mitex-python/README.md of this pull request.

e-zz pushed a commit to e-zz/MixTex-OCR-WebRebuild that referenced this pull request Sep 11, 2025
Copy link
Member

@OrangeX4 OrangeX4 Nov 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the pull request. Sorry for that I was a bit busy and didn't have time to look at it. Could you consider replacing this with a better solution instead of a Makefile? For example, using pyproject.toml, which would also eliminate the need for requirements.txt. And could you consider adding it to CI to upload the build artifacts to artifacts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants