google/latexify_py
A library to generate LaTeX expression from Python code. observed · 2026-08-28
Health v2 · maintenance only
10/100
- Activity 6
- Release rhythm 8
- Longevity 100
Flags: archived
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2230
- days_rel: 621
- days_push: 567
- n_releases_24m: 1
Adoption not part of the score
7623 stars · 394 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A Python library that compiles Python source code or AST fragments into corresponding LaTeX math expressions. It includes IPython integration for pretty-printing compiled functions in notebooks.
Use cases
- convert python functions to latex equations
- render math formulas from code in jupyter notebooks
- generate latex documentation for algorithms
- pretty-print symbolic math from python source
- turn python code into tex expressions for papers
When to choose
- you want deterministic, rule-based conversion of Python functions to LaTeX without AI
- you work in Jupyter/IPython and want equations rendered from code
- you need to document mathematical algorithms in papers or notes
When to avoid
- you need to convert arbitrary Python programs, not math-like functions
- you want ML-based code-to-LaTeX translation of handwritten or non-Python input
- you need full TeX document generation rather than expressions
Facets
library · maturity active
parser serialization developer-tools developer-tools education mathematics documentation python cross-platform latex math-notation ipython code-to-latex ast-transformation
2 sources
- readme: https://github.com/google/latexify_py · fetched 2026-08-28 · 007078f6ff9a
- registry_pypi: https://pypi.org/pypi/latexify_py/json · fetched 2026-08-29 · 643fbc57bec7
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| google/latexify_py | main | 10 |
For agents
markdown · JSON · MCP: product_card(name="google/latexify_py")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem