Skip to main content

No project description provided

Project description

π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 pdflatex available 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

pitex-1.0.1-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file pitex-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: pitex-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.1

File hashes

Hashes for pitex-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 60686a34648528232b3cba96f3681b6ac5677f3a28b72199b3d5ab2f274fed52
MD5 67ca29413ef16018d883abac1d5a601f
BLAKE2b-256 6b07d5ae2cebc27e514de72fc887ce0043b5a89a5aa71edd0df2bb4f8e32f8ab

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page