harper-cli
A PyPI package that bundles the pre-built harper-cli binary from
Automattic/harper so it can be
installed with pip/uv. Automattic authors and builds the binary; this
repository only handles fetching/packaging it for distribution on PyPI.
This project is not affiliated with, endorsed by, or an official mirror of
Automattic/harper.
Installation
Install from PyPI with pip:
pip install harper-cli
or with uv:
uv add harper-cli
Usage
Run harper lint on one or more files, or pipe text through standard input.
See harper --help and harper lint --help for the full set of options
(output format, dialect, ignore/only rules, etc.) exposed by the underlying
harper-cli binary.
As a one-off tool, without installing
uvx --from harper-cli harper lint README.md
Inside a project virtual environment
If harper-cli is a project dependency (installed via pip install/uv add
above), run it directly once the venv is active:
harper lint README.md
Or, without activating the venv, via uv run:
uv run harper lint README.md
As a pre-commit hook
Since this package only wraps a binary, there's no dedicated pre-commit
hook repo to point to. Declare it as a local hook instead:
# .pre-commit-config.yaml
repos:
- repo: local
hooks:
- id: harper-lint
name: harper lint
entry: uvx --from harper-cli harper lint
language: system
types: [markdown,python]
License
See LICENSE and NOTICE for full attribution
details. In short: the bundled harper-cli binary is Copyright 2024 Elijah
Potter and licensed under Apache-2.0 by the Automattic/harper project. The
packaging code in this repository is separately Copyright 2026 Thierry Jean,
also under Apache-2.0.
Metadata
Release files for harper-cli 2.11.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| harper_cli-2.11.0-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details |
| harper_cli-2.11.0-py3-none-manylinux2014_x86_64.whl | Python 3 | none | Linux glibc 2.17+ x86-64 | Details |
| harper_cli-2.11.0-py3-none-manylinux2014_aarch64.whl | Python 3 | none | Linux glibc 2.17+ ARM64 | Details |
| harper_cli-2.11.0-py3-none-macosx_11_0_arm64.whl | Python 3 | none | macOS 11.0+ ARM64 | Details |
| harper_cli-2.11.0-py3-none-macosx_10_12_x86_64.whl | Python 3 | none | macOS 10.12+ x86-64 | Details |
Total release size: 55.8 MB
Release files / harper_cli-2.11.0-py3-none-win_amd64.whl
| Download URL | harper_cli-2.11.0-py3-none-win_amd64.whl |
|---|---|
| Size | 12.6 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
e40345c2c97f9c5f55aee2f0ae9603d0889158c859005a58789f2258ca10d48d
|
|
BLAKE2b-256 checksum How to use checksums |
dff0bbf76bba2923a66206fc569dd139b8320485cac5f145a89d2fbc9a5de817
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.15 {"installer":{"name":"uv","version":"0.12.15","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}
|
Release files / harper_cli-2.11.0-py3-none-manylinux2014_x86_64.whl
| Download URL | harper_cli-2.11.0-py3-none-manylinux2014_x86_64.whl |
|---|---|
| Size | 13.2 MB |
| Tags | Linux glibc 2.17+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
bf4efb6836b3b8976611d0e56141f1fc886c83d38c1fedf97b6d887ffbf5d2ac
|
|
BLAKE2b-256 checksum How to use checksums |
4b5e0203c39125f696803ce93f47ac8d90d0169d66d176785c7a1852d83a22c3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.15 {"installer":{"name":"uv","version":"0.12.15","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}
|
Release files / harper_cli-2.11.0-py3-none-manylinux2014_aarch64.whl
| Download URL | harper_cli-2.11.0-py3-none-manylinux2014_aarch64.whl |
|---|---|
| Size | 8.8 MB |
| Tags | Linux glibc 2.17+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
618e9c11234e6397941844b44ee10a83d52e9bc2939fedc452a100045d6cad8d
|
|
BLAKE2b-256 checksum How to use checksums |
c6333bf901d6ef9e5e045c5524b0b3084a50d7dbffc421f4390ba797effae636
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.15 {"installer":{"name":"uv","version":"0.12.15","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}
|
Release files / harper_cli-2.11.0-py3-none-macosx_11_0_arm64.whl
| Download URL | harper_cli-2.11.0-py3-none-macosx_11_0_arm64.whl |
|---|---|
| Size | 8.6 MB |
| Tags | Python 3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
7848eee49953c683d5280727d727c3764c79fe34f65e1c6fd881d61f199a2ef7
|
|
BLAKE2b-256 checksum How to use checksums |
99a38c5431ab57874aacde53cd700b64e2cdf151a319d96ec05ea7ce49540b27
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.15 {"installer":{"name":"uv","version":"0.12.15","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}
|
Release files / harper_cli-2.11.0-py3-none-macosx_10_12_x86_64.whl
| Download URL | harper_cli-2.11.0-py3-none-macosx_10_12_x86_64.whl |
|---|---|
| Size | 12.7 MB |
| Tags | Python 3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
d9816b52b38ef0276ded6369972d70048cace0f2fdeec7424988553699a32cf0
|
|
BLAKE2b-256 checksum How to use checksums |
eccf39066a8c004404571ca1a4e6c04f5ef06799a44611850311b3e373dd7c37
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.15 {"installer":{"name":"uv","version":"0.12.15","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}
|