Skip to main content

PyLaTeX is a Python library for creating and compiling LaTeX files or snippets. The goal of this library is being an easy, but extensible interface between Python and LaTeX.

Installation

Simply install using pip:

pip install pylatex

And then install a relevant LaTeX processor and other dependencies. Examples:

Ubuntu

sudo apt-get install texlive-pictures texlive-science texlive-latex-extra latexmk

Documentation

There are two versions of the documentation:

Contributing

Read the How to contribute page for tips and rules when you want to contribute.

Examples

The documentation contains a lot of examples that show the functionality. To give an impression of what can be generated see this picture:

Generated PDF by PyLaTeX

Metadata

Release files for PyLaTeX 1.4.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for PyLaTeX 1.4.2
File Size Uploaded Provenance
PyLaTeX-1.4.2.tar.gz 59.7 kB Without provenance Details

Release files / PyLaTeX-1.4.2.tar.gz

Download URL PyLaTeX-1.4.2.tar.gz
Size 59.7 kB
Tags Source
SHA-256 checksum
How to use checksums
bb7b21bec57ecdba3f6f44c856ebebdf6549fd6e80661bd44fd5094236729242
BLAKE2b-256 checksum
How to use checksums
6da810cf6b955b5fa19438790d9949867e04c785ae845e631c5ef6db444401d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Security for PyLaTeX 1.4.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page