Skip to main content

texbundle

Zip only the files actually needed to build a LaTeX PDF.

texbundle compiles your document once with -recorder, which makes LaTeX write a .fls file listing every path it opened. Everything under your project root that was actually used gets bundled; TeX distribution files and build artifacts (.aux, .log, .out, ...) do not. Handy for submitting a clean source archive to arXiv, a journal, or a co-author.

Install

pip install texbundle

Requires Python 3.9+ and a LaTeX toolchain on PATH (latexmk if available, otherwise pdflatex/xelatex/lualatex directly). No other dependencies.

Usage

texbundle                          # main.tex -> bundle.zip
texbundle paper.tex -o submit.zip
texbundle thesis.tex -e xelatex --include-pdf
texbundle main.tex --skip-build --dry-run

Run it from your project root, next to your main .tex file.

Options

Flag Description
main Main .tex file to build (default: main.tex)
-o, --out Output archive path (default: bundle.zip)
-e, --engine pdflatex (default), xelatex, or lualatex
--include-pdf Also add the compiled PDF to the archive
--skip-build Reuse an existing .fls instead of recompiling
--dry-run List the files that would be bundled, without writing an archive
--version Print the installed version and exit

License

EUPL-1.2

Metadata

Release files for texbundle 0.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 texbundle 0.0.1
File Size Uploaded Provenance Actions
texbundle-0.0.1.tar.gz 23.1 kB With provenance Details for texbundle-0.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for texbundle 0.0.1
File Interpreter ABI Platform Actions
texbundle-0.0.1-py3-none-any.whl Python 3 none any Details for texbundle-0.0.1-py3-none-any.whl

Total release size: 40.8 kB

Release files / texbundle-0.0.1.tar.gz

Download URL texbundle-0.0.1.tar.gz
Size 23.1 kB
Tags Source
SHA-256 checksum
How to use checksums
239da878d512fa8bf22a5950e827f1e5e27f12214f4dda9a2579ecd9c76bb480
BLAKE2b-256 checksum
How to use checksums
6dec0999c6482654cebeae2833393114b7867cab89f5b5be2d7078deedb7a183
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 24, 2026.

Transparency log

Release files / texbundle-0.0.1-py3-none-any.whl

Download URL texbundle-0.0.1-py3-none-any.whl
Size 17.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
42922e1e242848e79e64a014f5f0237f34fcd6f0933eaa89f423c8e646f9e5fd
BLAKE2b-256 checksum
How to use checksums
ee2ffb2ae45620984c4010c6b864e3a4ad0f9e95db9277715b4695852278fbf0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 24, 2026.

Transparency log

Security for texbundle 0.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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for texbundle-0.0.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 24, 2026.

Transparency log

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.0.1 This release

2 release files Full 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