Skip to main content

python PyPI version

proofer

A minimal, CLI-based agent built with LangGraph for proofreading and editing short-form writing like blog posts. Displays a helpful git-like diff with suggestions and the option to automatically apply changes with backups.

Usage Screenshot

User Guide

OpenAI API Key

For most tasks this library uses OpenAI API's so you'll need to set the OPENAI_API_KEY environment variable. An easy way to do this is to put this line:

export OPENAI_API_KEY=<your key>

in your .zshrc file or whichever configuration file your setup uses.

Install

Available on PyPI (i.e. pip install proofer)

Usage

Either pass in the path to a file (works best with markdown or plain text documents)

proofer file.md

or some text directly

proofer -t "Some text with spelking errors"

Note: The intent of this project is to support short-form writing (<1500 words or so). It will struggle with longer documents, which might be addressed in a future release.

Auto-Apply Changes

If you want to live dangerously, you can auto-apply changes identified like so:

proofer file.md --yes

Development

This project currently requires Python 3.13 (pyenv is recommended) and uses Poetry as the dependency manager and packaging tool.

For now, checkout the Makefile as a guide.

Command Description
make install Install all dependencies
make test Run unit tests

Metadata

Release files for proofer 0.1.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 proofer 0.1.1
File Size Uploaded
proofer-0.1.1.tar.gz 6.1 kB Details

Built distribution (wheel)

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

Total release size: 14.0 kB

Release files / proofer-0.1.1.tar.gz

Download URL proofer-0.1.1.tar.gz
Size 6.1 kB
Tags Source
SHA-256 checksum
How to use checksums
4a1dc9fdd5500fb4a6bd0e0b4a0d6840e308082bd89bcf21909274dcd6742735
BLAKE2b-256 checksum
How to use checksums
19b180cee114016f5abda9692851dfd4b22061d4ce1a9efd2ab0d2376189ccf9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.5 CPython/3.13.1 Darwin/24.5.0

Release files / proofer-0.1.1-py3-none-any.whl

Download URL proofer-0.1.1-py3-none-any.whl
Size 7.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4e3226505ec77bb09001bf2b8de098eb6941af7f983ba61b3b66fcc71db6e4a3
BLAKE2b-256 checksum
How to use checksums
41071c97a879e8cd5f2c05076d9395100290b21338645b1a8af0aad82d51f984
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.5 CPython/3.13.1 Darwin/24.5.0

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

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