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.13.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| harper_cli-2.13.0-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details for harper_cli-2.13.0-py3-none-win_amd64.whl |
| harper_cli-2.13.0-py3-none-manylinux2014_x86_64.whl | Python 3 | none | Linux glibc 2.17+ x86-64 | Details for harper_cli-2.13.0-py3-none-manylinux2014_x86_64.whl |
| harper_cli-2.13.0-py3-none-manylinux2014_aarch64.whl | Python 3 | none | Linux glibc 2.17+ ARM64 | Details for harper_cli-2.13.0-py3-none-manylinux2014_aarch64.whl |
| harper_cli-2.13.0-py3-none-macosx_11_0_arm64.whl | Python 3 | none | macOS 11.0+ ARM64 | Details for harper_cli-2.13.0-py3-none-macosx_11_0_arm64.whl |
| harper_cli-2.13.0-py3-none-macosx_10_12_x86_64.whl | Python 3 | none | macOS 10.12+ x86-64 | Details for harper_cli-2.13.0-py3-none-macosx_10_12_x86_64.whl |
Total release size: 64.4 MB
Release files / harper_cli-2.13.0-py3-none-win_amd64.whl
| Download URL | harper_cli-2.13.0-py3-none-win_amd64.whl |
|---|---|
| Size | 12.7 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
e9d2d51b9e5d7d2089a8acf6f4be633c5d0d3a8a9d187fa99bef19f2d52193eb
|
|
BLAKE2b-256 checksum How to use checksums |
44363197e388d58301df04894000f6e6af96b97f16389c078c7331a4a385bb52
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","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.13.0-py3-none-manylinux2014_x86_64.whl
| Download URL | harper_cli-2.13.0-py3-none-manylinux2014_x86_64.whl |
|---|---|
| Size | 13.3 MB |
| Tags | Linux glibc 2.17+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
d1e8679a7e5ec70747d1243e9aac4dc9a3274a6376611adcb6ed57e822c6d284
|
|
BLAKE2b-256 checksum How to use checksums |
2ebc51192331da6837b7ca07eb00440bc7c8c9e714d5da3dfd3ca49f74ec2678
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","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.13.0-py3-none-manylinux2014_aarch64.whl
| Download URL | harper_cli-2.13.0-py3-none-manylinux2014_aarch64.whl |
|---|---|
| Size | 12.9 MB |
| Tags | Linux glibc 2.17+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
19c2d52d77f46d17f83bfe36a8746100c541d29ff86f336882464deea0521e01
|
|
BLAKE2b-256 checksum How to use checksums |
4d34166a94d8b399705c2d7ea3c8fa835f93fcf84bbd2ec46cb749d61e866bde
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","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.13.0-py3-none-macosx_11_0_arm64.whl
| Download URL | harper_cli-2.13.0-py3-none-macosx_11_0_arm64.whl |
|---|---|
| Size | 12.7 MB |
| Tags | Python 3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
f6df4c1622c8716338b6e120f65f53d7a86060eae187edb4d488b00b06b12abe
|
|
BLAKE2b-256 checksum How to use checksums |
40e9ecd5732cfaa1918831a41f6a9cbd1a5998c09f634d3b8c6e76b51d5a1a57
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","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.13.0-py3-none-macosx_10_12_x86_64.whl
| Download URL | harper_cli-2.13.0-py3-none-macosx_10_12_x86_64.whl |
|---|---|
| Size | 12.8 MB |
| Tags | Python 3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
68059ec1b9ef11becee4883da00626083c7dfb61dbe8e922937c3a262fe7372e
|
|
BLAKE2b-256 checksum How to use checksums |
7805fc689580b399f1437d95f0128d24509b1ee1612d26574f1e4e06dddd3625
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","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}
|
Security for harper-cli 2.13.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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.