Skip to main content

A CLI-based agent for proofreading and editing short-form writing

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

proofer-0.1.1.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

proofer-0.1.1-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file proofer-0.1.1.tar.gz.

File metadata

  • Download URL: proofer-0.1.1.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.13.1 Darwin/24.5.0

File hashes

Hashes for proofer-0.1.1.tar.gz
Algorithm Hash digest
SHA256 4a1dc9fdd5500fb4a6bd0e0b4a0d6840e308082bd89bcf21909274dcd6742735
MD5 739cd08d7c0c2518306b147fce51a3af
BLAKE2b-256 19b180cee114016f5abda9692851dfd4b22061d4ce1a9efd2ab0d2376189ccf9

See more details on using hashes here.

File details

Details for the file proofer-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: proofer-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 7.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.13.1 Darwin/24.5.0

File hashes

Hashes for proofer-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4e3226505ec77bb09001bf2b8de098eb6941af7f983ba61b3b66fcc71db6e4a3
MD5 374acbed7baeab46c89c87ff7a5fba28
BLAKE2b-256 41071c97a879e8cd5f2c05076d9395100290b21338645b1a8af0aad82d51f984

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page