Skip to main content
Prose, a Python typesetter for the reader.

Rust1.99+ Python3.10+ Coveragepercent DocumentationDocs


🪻 About

Prose formats Python source to be legible at a glance. It aligns equals signs and colons vertically across consecutive lines, places one entry per line in dictionaries, calls, and signatures, alphabetizes methods and fields within their groups, removes padding that lines up with nothing, and treats code like prose rather than minified text.


🗞️ Philosophy

Code is read far more often than it is written, and a reader's eye moves down a page and across adjacent lines looking for parallels, patterns, and shape. The landing page sets out how Prose restores that shape.

The trade-offs minimalist formatters were built to avoid (wider diffs, more vertical scrolling, occasional re-alignment churn) no longer dominate the equation. Agentic assistants do much of the typing, and every modern code host offers whitespace-ignoring diffs. What remains is the daily experience of reading code.


🪄 Install & Usage

uv tool install prose-formatter

The binary exposes format, check, rules, server, cache, completions, and schema:

prose format path/             # rewrite files in place
prose check path/              # exit non-zero on violations
prose format --diff path/      # show the diff without writing
prose check --stdin < file.py  # read from stdin
prose format - < file.py       # `-` reads from stdin too
prose rules                    # list the rules in pipeline order
prose schema                   # print the config's JSON Schema
prose server                   # language server over stdio

📰 Further Reading

The full edition lives at prose.fyi:

  • The interactive sandbox formats Python live in the browser, so a reader can watch a snippet settle into shape without installing anything.
  • The rule catalog walks every rule with before/after fixtures and per-facet configuration.
  • The configuration reference covers the prose.toml, .config/prose.toml, and pyproject.toml config files, the top-level and [imports] keys, and the [rules] facets.
  • The cache reference covers the cache directory, --no-cache, the [cache] table, and the prose cache subcommands.
  • The exit-code matrix is the contract a CI gate or a pre-commit hook reads.
  • Suppression directives cover # prose: off, # prose: skip, and the rest of the directive surface.
  • The Ruff integration covers running Prose in a project that already runs Ruff.
  • Editor, pre-commit, and CI integrations wire Prose into the development loop.

🗜️ Development

Prose is a Rust crate that ships as a Python wheel through maturin, with mise managing the Rust toolchain, Python interpreter, and every supporting CLI through a single mise config. After installing mise and activating it in your shell, the rest provisions from a clone. mise doctor project then reports anything a build still needs beyond the tools, each beside the command that supplies it:

git clone https://github.com/Jybbs/prose.git
mise trust prose
mise -C prose install
cd prose
mise doctor project

Once mise's shell hook has put .mise/bin on the path, a bare prose inside the checkout runs the checkout's own build rather than an installed release.

mise tasks lists every available task, and mise ci runs the full local sweep that mirrors GitHub Actions. The contributor guide at .github/CONTRIBUTING.md walks a change from setting up a clone and filing or picking up an issue, through the fixture case a fix is reviewed against and the commit, to the pull request and the checks that run on it.

For the architecture, the architecture section walks the types and modules Prose is built from, setting the public Source, Pipeline, and RuleId beside the shared pieces every rule is composed from, and the pipeline order sets out the fixed order the rules run in and why each rule sits where it does.

Metadata

Release files for prose-formatter 0.11.0

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

Source distribution (sdist)

Source distribution for prose-formatter 0.11.0
File Size Uploaded Provenance Actions
prose_formatter-0.11.0.tar.gz 1.4 MB With provenance Details for prose_formatter-0.11.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for prose-formatter 0.11.0
File Actions
prose_formatter-0.11.0-py3-none-win_arm64.whl Python 3 none Windows ARM64 Details for prose_formatter-0.11.0-py3-none-win_arm64.whl
prose_formatter-0.11.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for prose_formatter-0.11.0-py3-none-win_amd64.whl
prose_formatter-0.11.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details for prose_formatter-0.11.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
prose_formatter-0.11.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details for prose_formatter-0.11.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
prose_formatter-0.11.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for prose_formatter-0.11.0-py3-none-macosx_11_0_arm64.whl
prose_formatter-0.11.0-py3-none-macosx_10_12_x86_64.whl Python 3 none macOS 10.12+ x86-64 Details for prose_formatter-0.11.0-py3-none-macosx_10_12_x86_64.whl

Total release size: 25.8 MB

Release files / prose_formatter-0.11.0.tar.gz

Download URL prose_formatter-0.11.0.tar.gz
Size 1.4 MB
Tags Source
SHA-256 checksum
How to use checksums
1a1296d07146cf7e3b1b7d08b91428e65f557d2631218ba59c2a7210e93704c9
BLAKE2b-256 checksum
How to use checksums
b421d9dbcfa810b11a6f31a32ea83ee01bd0dd8b266ab990d5d2264cc901d7c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

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 8, 2026.

Transparency log

Release files / prose_formatter-0.11.0-py3-none-win_arm64.whl

Download URL prose_formatter-0.11.0-py3-none-win_arm64.whl
Size 3.8 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
fd0c8ab2a9291c4a57e528c89b7c02113763c6817f2d39c8980627c445401675
BLAKE2b-256 checksum
How to use checksums
00059e631c6a9ef8012f47476456c83291df51e2d84e6319fd05d896ad754fec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

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 8, 2026.

Transparency log

Release files / prose_formatter-0.11.0-py3-none-win_amd64.whl

Download URL prose_formatter-0.11.0-py3-none-win_amd64.whl
Size 4.1 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
b21c50503c57a421ea59c0def3a5f9b431332d1d8974dc03732fb3eb546c7548
BLAKE2b-256 checksum
How to use checksums
3e1dd497a7605017654e1ee5d0e5cef926c02b4cbdc8b72e2deec7182a60f55e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

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 8, 2026.

Transparency log

Release files / prose_formatter-0.11.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL prose_formatter-0.11.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 4.3 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
d8a8b26207987c9ca73d1ccdff9bc4ae934c9dd53abf8bdb41736c091a12312f
BLAKE2b-256 checksum
How to use checksums
546485d00e67c0d988f338860701c76e19ef3bc560a9342978c85e9988f24c17
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

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 8, 2026.

Transparency log

Release files / prose_formatter-0.11.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL prose_formatter-0.11.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 4.1 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
fffdce0e4bc22769181efeeffa5aec27ccfc68f2355ae5bdd634882e00ea5b69
BLAKE2b-256 checksum
How to use checksums
47bb85ab5448921b093d7a0df09210dcb9839d5033aed415e900f2c38821461a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

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 8, 2026.

Transparency log

Release files / prose_formatter-0.11.0-py3-none-macosx_11_0_arm64.whl

Download URL prose_formatter-0.11.0-py3-none-macosx_11_0_arm64.whl
Size 3.8 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
f54f04eeeb858dc378e6525972eb7729a7bec9292735ff950dc4cbd32e0efeac
BLAKE2b-256 checksum
How to use checksums
324a7a5a1a8df5fa1951a93fa9b2b2727655f698757dab3f99bae1188ab0e8be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

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 8, 2026.

Transparency log

Release files / prose_formatter-0.11.0-py3-none-macosx_10_12_x86_64.whl

Download URL prose_formatter-0.11.0-py3-none-macosx_10_12_x86_64.whl
Size 4.3 MB
Tags Python 3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
08834103d38cfc402be872f502cc96015e55936a35500065425de53c82b567a8
BLAKE2b-256 checksum
How to use checksums
61b89b49496595a9738b540866ec314412075b11ab06c36f35274161cae6eee7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

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 8, 2026.

Transparency log

Security for prose-formatter 0.11.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 7 files in this release have been uploaded with provenance metadata.

Select from 7 files

Attestation for prose_formatter-0.11.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 8, 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.

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