Skip to main content

LatexToolkit 📝 → 📄

LatexToolkit is lightweight Python package working on top of magic-pdf. It is designed to convert documents into LaTeX format. Whether you're working with PDFs, markdown files, or other structured text formats, this toolkit is thought to streamline the workflow of LaTeX conversion.

Features

✔️ End to end pipeline from PDF to LaTeX .
✔️ Simple CLI tool for documents to LaTeX conversions.

Future features: Support of .doc , .docx , .ppt and .pptx. formats.

Code available here

Installation

1. Ensure to install first magic-pdf

Using Conda env:

conda create -n MinerU python=3.10
conda activate MinerU
pip install -U magic-pdf[full] --extra-index-url https://wheels.myhloli.com

Download model weight files:

pip install huggingface_hub
wget https://github.com/opendatalab/MinerU/raw/master/scripts/download_models_hf.py -O download_models_hf.py
python download_models_hf.py

If using GPU follow magic-pdf Official installation

2. Install LatexToolkit via pip:

pip install LatexToolkit

Ussage

Run the tool from the terminal to convert a document:

latex_toolkit input_file.pdf

or use it in your Python scripts:

from LatexToolkit import to_latex

to_latex("input_file.pdf")

Metadata

Release files for Latex-toolkit 0.1

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

Source distribution (sdist)

Source distribution for Latex-toolkit 0.1
File Size Uploaded Provenance Actions
latex_toolkit-0.1.tar.gz 4.3 kB Without provenance Details for latex_toolkit-0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for Latex-toolkit 0.1
File Interpreter ABI Platform Actions
latex_toolkit-0.1-py3-none-any.whl Python 3 none any Details for latex_toolkit-0.1-py3-none-any.whl

Total release size: 9.1 kB

Release files / latex_toolkit-0.1.tar.gz

Download URL latex_toolkit-0.1.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
ab3951d136e47999967b3d3e823f3b264daf4c9522304027caa108167ca9d1e3
BLAKE2b-256 checksum
How to use checksums
db5e25429862908c678511f01e40e32a5f2325ab974a687f49348a1c213e84c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.6

Release files / latex_toolkit-0.1-py3-none-any.whl

Download URL latex_toolkit-0.1-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bc2ef1bc57f12ac8fd07ea89ffa0e191e2de034a9f076506d0ce963de1c587b9
BLAKE2b-256 checksum
How to use checksums
685f082f30c764732f946edba01bcac8b369145b2ca6cec2c11b2791675bcc49
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.6

Security for Latex-toolkit 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.

Release history Release notifications | RSS feed

This release

0.1 This release

2 release files No provenance

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