# JelteF/PyLaTeX

A Python library for creating LaTeX files

Repository: https://github.com/JelteF/PyLaTeX
Canonical: https://ross.abutalabs.com/products/pylatex
Homepage: https://jeltef.github.io/PyLaTeX/
Language: Python
License: MIT
License Family: permissive
Last push: 2024-07-25T20:19:05+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4613, "days_push": 769, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2354, forks 296 (observed 2026-08-28T04:06:40.559632+00:00)

## What it is
PyLaTeX is a Python library for creating and compiling LaTeX files or snippets. It provides an easy but extensible interface between Python and LaTeX.

## Use cases
- generate pdf reports from python
- create latex documents programmatically
- build latex tables from data
- compile latex files from a python script
- generate academic papers with python

## When to choose
- you need to produce LaTeX documents or PDFs from Python code
- you want a programmatic, extensible API instead of string-templating LaTeX by hand

## When to avoid
- you only need to parse existing LaTeX files
- you want a pure-Python PDF generator without a LaTeX toolchain installed

## Facets
- artifact type: library
- maturity: maintenance
- function: templating, pdf, documentation
- domain: developer-tools, documentation, pdf
- platform: python, cross-platform
- tags: latex, pdf-generation, document-generation

## Member repositories
- JelteF/PyLaTeX (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:40.559632+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:36:27.490241+00:00, confidence not recorded.
  - readme: https://github.com/JelteF/PyLaTeX (fetched 2026-08-28T04:06:40.559632+00:00, sha 768a7ebc9335)
  - homepage: https://jeltef.github.io/PyLaTeX/ (fetched 2026-08-29T10:17:03.564238+00:00, sha f5518901ee7a)
  - registry_pypi: https://pypi.org/pypi/pylatex/json (fetched 2026-08-29T10:17:03.573293+00:00, sha 25909f64f9a9)
- Data as of 2026-08-30T08:39:29.467469+00:00.
