open-harness
The full open-harness suite in a single pip install. Installs all five code-quality tools at once: linelens, dupelens, secretlens, testlens, scopelens.
Part of the open-harness monorepo. Español abajo.
Same suite, other ecosystems: the binaries shipped here are also published on npm (
@open_harness/open-harness) for Node/TypeScript projects and on Packagist (open-harness/open-harness) for PHP/Composer projects. Pick the registry that matches your stack — the underlying tools and config formats are identical.
Install
pip install open-harness-suite
pip resolves the dependency tree and downloads the right native wheel per platform for each tool (Linux x86_64, macOS arm64, macOS x86_64, Windows x86_64).
What you get
| Tool | Purpose |
|---|---|
| linelens | File length linter — flags files over a configurable line limit. |
| dupelens | Code duplication detector (Rabin-Karp, language-agnostic, bounded memory budget). |
| secretlens | Secret and credential detector (AWS keys, GitHub tokens, JWT, PEM, …). |
| testlens | Test coverage detector — finds source files without tests, 9 languages. |
| scopelens | Per-PR file- and line-budget gate over git — counts the branch-vs-base diff at pre-commit. |
After install, all five binaries live in your venv's bin/:
linelens check
dupelens check
secretlens check
testlens check --lang python
scopelens check
Configure from pyproject.toml
Each tool will read its config from [tool.<name>] inside your pyproject.toml (planned, see roadmap). Today, configuration goes in <tool>.json files at the repo root:
// linelens.json
{ "default": { "maxLines": 100 } }
Precedence per tool: --config <path> > dedicated *.json > pyproject.toml table > built-in defaults.
Run all five as a single CI gate
# GitHub Actions / GitLab CI / etc.
- pip install open-harness-suite
- linelens check --fail
- dupelens check --fail
- secretlens check --fail
- testlens check --fail --lang python
- scopelens check --fail
# .pre-commit-config.yaml
repos:
- repo: local
hooks:
- id: linelens
name: linelens
entry: linelens check --fail --no-color
language: system
pass_filenames: false
- id: dupelens
name: dupelens
entry: dupelens check --fail --no-color
language: system
pass_filenames: false
- id: secretlens
name: secretlens
entry: secretlens check --fail --no-color
language: system
pass_filenames: false
- id: testlens
name: testlens
entry: testlens check --fail --lang python
language: system
pass_filenames: false
Per-tool docs
Each tool ships in three ecosystems with identical behavior. Pick the registry that matches your project's stack:
| Tool | PyPI (Python) | npm (Node/TS) | Packagist (PHP) |
|---|---|---|---|
| linelens | open-harness-linelens | @open_harness/linelens | open-harness/linelens |
| dupelens | open-harness-dupelens | @open_harness/dupelens | open-harness/dupelens |
| secretlens | open-harness-secretlens | @open_harness/secretlens | open-harness/secretlens |
| testlens | open-harness-testlens | @open_harness/testlens | open-harness/testlens |
| scopelens | open-harness-scopelens | @open_harness/scopelens | open-harness/scopelens |
Español
La suite completa de open-harness en un solo pip install. Instala los cinco tools de calidad de código: linelens, dupelens, secretlens, testlens, scopelens.
Parte del monorepo open-harness.
Instalación
pip install open-harness-suite
pip descarga automáticamente la wheel nativa correcta para tu plataforma por cada tool (Linux x86_64, macOS arm64, macOS x86_64, Windows x86_64).
Qué incluye
Los 5 binarios disponibles en el bin/ de tu venv tras el install: linelens, dupelens, secretlens, testlens, scopelens.
Configurá desde pyproject.toml
Cada tool leerá su config desde [tool.<name>] dentro de tu pyproject.toml (roadmap). Hoy la configuración va en archivos <tool>.json en la raíz del repo.
CI / pre-commit
Sirve con GitHub Actions, GitLab CI o el framework pre-commit (snippets arriba).
License
MIT — see the main repository.
Metadata
Release files for open-harness-suite 0.3.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| open_harness_suite-0.3.7.tar.gz | 4.9 kB | Without provenance | Details for open_harness_suite-0.3.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| open_harness_suite-0.3.7-py3-none-any.whl | Python 3 | none | any | Details for open_harness_suite-0.3.7-py3-none-any.whl |
Total release size: 9.9 kB
Release files / open_harness_suite-0.3.7.tar.gz
| Download URL | open_harness_suite-0.3.7.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
be45e9571738cf48cfbfbbf106095b0a7dcf907ff8172f405e5151d0dacc36ed
|
|
BLAKE2b-256 checksum How to use checksums |
0e3a4d07097ddb773768edb38e2fc8b925fa8d1792fddb4731eadaea7a441877
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.7
|
Release files / open_harness_suite-0.3.7-py3-none-any.whl
| Download URL | open_harness_suite-0.3.7-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7e5518a797f9ec85fdb5486beee4ed91ac7b0198f6c6d05abd6e2ff580505c3c
|
|
BLAKE2b-256 checksum How to use checksums |
812dd23cbce79e1ed6265623269f6501c9de760fb25a1e996cc4c1fa98c96563
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.7
|
Security for open-harness-suite 0.3.7
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.