prose-tools
prose wraps lines in LaTeX,
Markdown,
and plain text,
preserving markup,
indentation,
equations,
and code blocks.
Installation
# CLI binary
cargo install prose-tools
# Python package (`prose` module and CLI)
pip install prose-tools
# Optional training extras
pip install "prose-tools[train]"
# Nix
nix run github:khwstolle/prose-tools -- --help
Usage
# Format a file to stdout or in place
prose format document.tex
prose format -w document.md
# Check formatting without modifying files
prose check document.tex
# Start the HTTP or MCP server
prose serve --port 8765
prose serve --mcp
# Module invocation
python -m prose --help
Python API
from prose import Formatter
formatter = Formatter("mini")
formatted = formatter.format_text(
"The encoder processes each block. A linear readout predicts breaks.",
file_type="latex",
)
Guides and examples
Licensed under the MIT License.
Metadata
Release files for prose-tools 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| prose_tools-1.0.0.tar.gz | 71.0 kB | With provenance | Details for prose_tools-1.0.0.tar.gz |
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| prose_tools-1.0.0-cp311-abi3-win_amd64.whl | CPython 3.11 | abi3 | Windows x86-64 | Details for prose_tools-1.0.0-cp311-abi3-win_amd64.whl |
| prose_tools-1.0.0-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl | CPython 3.11 | abi3 | Linux glibc 2.17+ x86-64 | Details for prose_tools-1.0.0-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
| prose_tools-1.0.0-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl | CPython 3.11 | abi3 | Linux glibc 2.17+ ARM64 | Details for prose_tools-1.0.0-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl |
| prose_tools-1.0.0-cp311-abi3-macosx_11_0_arm64.whl | CPython 3.11 | abi3 | macOS 11.0+ ARM64 | Details for prose_tools-1.0.0-cp311-abi3-macosx_11_0_arm64.whl |
| prose_tools-1.0.0-cp311-abi3-macosx_10_12_x86_64.whl | CPython 3.11 | abi3 | macOS 10.12+ x86-64 | Details for prose_tools-1.0.0-cp311-abi3-macosx_10_12_x86_64.whl |
Total release size: 36.0 MB
Release files / prose_tools-1.0.0.tar.gz
| Download URL | prose_tools-1.0.0.tar.gz |
|---|---|
| Size | 71.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
779ab14450153fe0c8d6f23378effca90dadae283c6011fd99d06786dd6412d4
|
|
BLAKE2b-256 checksum How to use checksums |
433b127446e5a8850fd2899712c4206454486bb47823a753f8b42bd588464513
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 28, 2026.
Transparency logRelease files / prose_tools-1.0.0-cp311-abi3-win_amd64.whl
| Download URL | prose_tools-1.0.0-cp311-abi3-win_amd64.whl |
|---|---|
| Size | 6.5 MB |
| Tags | CPython 3.11 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
e8ba981bdcb51c6a8d331038fb87d4da68b0113832889e27a16d1895923a410c
|
|
BLAKE2b-256 checksum How to use checksums |
26a0aa573e4d9bed21075237c1cfe0c8b885db29da4bf02eb35c370cfc535201
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 28, 2026.
Transparency logRelease files / prose_tools-1.0.0-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | prose_tools-1.0.0-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 8.1 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
5555e10b5e713381c60c5696a2e85c6facdac920216be2b8220e024b81f4814f
|
|
BLAKE2b-256 checksum How to use checksums |
b7c408bb5a646ff2fef611b084fbb22ff0c093e5f2532bb75672df277d2a38a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 28, 2026.
Transparency logRelease files / prose_tools-1.0.0-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
| Download URL | prose_tools-1.0.0-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl |
|---|---|
| Size | 7.5 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
b3840da29fb630301dc5d9477deac6d72a260f1ebd3406a16ff17dfc850b4cfe
|
|
BLAKE2b-256 checksum How to use checksums |
7015c29d7e088740d57194dd20468c236b869b832f4004e821c60fcf6c8e2dc3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 28, 2026.
Transparency logRelease files / prose_tools-1.0.0-cp311-abi3-macosx_11_0_arm64.whl
| Download URL | prose_tools-1.0.0-cp311-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 6.7 MB |
| Tags | CPython 3.11 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
59d92af04e38b0c0a3813ce3cc066af3426769fa1d9a6738d8ef22d77f4022f8
|
|
BLAKE2b-256 checksum How to use checksums |
cec6e196125a158924e50a887d6abc701b6acdbb1347507e769ee37a7471c4e4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 28, 2026.
Transparency logRelease files / prose_tools-1.0.0-cp311-abi3-macosx_10_12_x86_64.whl
| Download URL | prose_tools-1.0.0-cp311-abi3-macosx_10_12_x86_64.whl |
|---|---|
| Size | 7.1 MB |
| Tags | CPython 3.11 abi3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
56fa7eb5a7327214abd98ee3faa5b25e0cb7a7a10389a35bdbec3cc15ff99e65
|
|
BLAKE2b-256 checksum How to use checksums |
3ef06b4e7512e48c5e4b91e28ceb9df7d162bf5d569b62156ce2a2774619bf00
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 28, 2026.
Transparency logSecurity for prose-tools 1.0.0
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 6 files in this release have been uploaded with provenance metadata.
Attestation for prose_tools-1.0.0.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 Nov 28, 2026.
Transparency logA 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.