πTex
A Python-based utility for generating and compiling LaTeX documents programmatically. Ideal for automating the creation of complex LaTeX documents.
Requirements
- πTex assumes that the command
pdflatexavailable in your path. Please see this page for instructions on how to install LaTeX on your system.
Installation
pip install pitex
Quick Start
-
Minimal example:
from pytex import LatexDocument # Create a new LaTeX document doc = LatexDocument("my_document") # Add content to the document doc.content += r""" \section{Introduction} This is an automatically generated LaTeX document. """ # Compile the LaTeX document to PDF doc.compile()
Documentation
Detailed documentation will be available soon.
Contributing
Contributions are welcome! If you'd like to contribute, please fork the repository and use a feature branch. Pull requests are warmly welcome.
Licensing
The code in this project is licensed under MIT license. This is a permissive license that is short and to the point. It lets people do almost anything they want with your project, like making and distributing closed source versions.
Metadata
Release files for pitex 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pitex-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for pitex-1.0.1-py3-none-any.whl |
Release files / pitex-1.0.1-py3-none-any.whl
| Download URL | pitex-1.0.1-py3-none-any.whl |
|---|---|
| Size | 5.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
60686a34648528232b3cba96f3681b6ac5677f3a28b72199b3d5ab2f274fed52
|
|
BLAKE2b-256 checksum How to use checksums |
6b07d5ae2cebc27e514de72fc887ce0043b5a89a5aa71edd0df2bb4f8e32f8ab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.12.1
|
Security for pitex 1.0.1
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.