This release is a pre-release and may not be stable for production use.
betterleaks-cli
Standalone Python-packaged CLI distribution for Betterleaks, the fast secret and credential detection engine written in Go.
This package ships only the compiled betterleaks CLI executable (pip install betterleaks-cli).
For the in-process Python SDK, install betterleaks-sdk or betterleaks.
Installation
pip install betterleaks-cli
| Platform | Architecture | CLI (betterleaks) |
|---|---|---|
| macOS | ARM64 & x86-64 | Bundled betterleaks binary. The wheel tag specifies the minimum macOS for that release. |
| Linux (glibc) | x86-64 & ARM64 | Bundled betterleaks binary |
| Windows | x86-64 & ARM64 | Bundled betterleaks.exe binary |
Building from Source
git clone https://github.com/betterleaks/betterleaks.git
cd betterleaks
pip install ./bindings/python/cli
CLI Usage
betterleaks --version
betterleaks git .
betterleaks filesystem path/to/project
betterleaks stdin < file.txt
from betterleaks_cli import get_binary_path
print(get_binary_path())
License
MIT License. See LICENSE for details.
Metadata
Release files for betterleaks-cli 2.0.0rc16
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 |
|---|---|---|---|---|
| betterleaks_cli-2.0.0rc16.tar.gz | 1.9 MB | With provenance | Details for betterleaks_cli-2.0.0rc16.tar.gz |
Built distributions (wheels)
Total release size: 68.7 MB
Release files / betterleaks_cli-2.0.0rc16.tar.gz
| Download URL | betterleaks_cli-2.0.0rc16.tar.gz |
|---|---|
| Size | 1.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5a7679cf501142f56522033d0d5e8a9fb9f726c2ed1e9b4a62f3410275b20592
|
|
BLAKE2b-256 checksum How to use checksums |
58e03ca9806b6d148a9901d48485baee9ff060d25e50bd9eb5b11a622e73481c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.
Transparency logRelease files / betterleaks_cli-2.0.0rc16-py3-none-win_arm64.whl
| Download URL | betterleaks_cli-2.0.0rc16-py3-none-win_arm64.whl |
|---|---|
| Size | 10.5 MB |
| Tags | Python 3 Windows ARM64 |
|
SHA-256 checksum How to use checksums |
bb7d5fdb6873c3e0e84562c7cd5fceb52467bb09159ac99468ea11fbb5749026
|
|
BLAKE2b-256 checksum How to use checksums |
49a45acc7f856aa5f1e18dae0f98da84121967e650e30205b52af09f66ab9f27
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.
Transparency logRelease files / betterleaks_cli-2.0.0rc16-py3-none-win_amd64.whl
| Download URL | betterleaks_cli-2.0.0rc16-py3-none-win_amd64.whl |
|---|---|
| Size | 11.8 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
87b238ea61b445a900f7ffa6a0f0d59751433d3f03cd221aa96bdea252ad8b9a
|
|
BLAKE2b-256 checksum How to use checksums |
b49a8ce37d0ab1a8fc6c16f54091777b472038d299e535714c7152399cba29a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.
Transparency logRelease files / betterleaks_cli-2.0.0rc16-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | betterleaks_cli-2.0.0rc16-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 10.4 MB |
| Tags | Linux glibc 2.17+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
5aab23a6b8178f35eb3eeebc5abdc83ba938eb286b2de706f302834d04dc0c65
|
|
BLAKE2b-256 checksum How to use checksums |
e7fb2a300f25b2a00b79dff65c5311d485be9950494c2917c32f44f35ef043dc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.
Transparency logRelease files / betterleaks_cli-2.0.0rc16-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | betterleaks_cli-2.0.0rc16-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 11.5 MB |
| Tags | Linux glibc 2.17+ x86-64 Linux glibc 2.5+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
59d09ccccbe389bd7fc276a461e89d49f5808e3af45d41a0f483d7f571d6e55a
|
|
BLAKE2b-256 checksum How to use checksums |
b5fcad57013ba8a229df1fb0a35789178f564bb9e131ec06e660433faa655f43
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.
Transparency logRelease files / betterleaks_cli-2.0.0rc16-py3-none-macosx_13_0_x86_64.whl
| Download URL | betterleaks_cli-2.0.0rc16-py3-none-macosx_13_0_x86_64.whl |
|---|---|
| Size | 11.7 MB |
| Tags | Python 3 macOS 13.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
3a8118d71bc60ad2a66c723108feeeee55bf63ce0b82c54b80f01dc10e71c27e
|
|
BLAKE2b-256 checksum How to use checksums |
36a7937b17d76421402ec3dcfe02ab9e06c98821867ff3b042e507b9344bd5e0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.
Transparency logRelease files / betterleaks_cli-2.0.0rc16-py3-none-macosx_13_0_arm64.whl
| Download URL | betterleaks_cli-2.0.0rc16-py3-none-macosx_13_0_arm64.whl |
|---|---|
| Size | 10.8 MB |
| Tags | Python 3 macOS 13.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
f862228b49f89e743129bbc960b3bd62d0f872edf6dae2297ae7528ceb962937
|
|
BLAKE2b-256 checksum How to use checksums |
ac32f954f8ed6cea488e0e0ed728e1e09d3368f8d8ecff212246f0c41f33c837
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.
Transparency logSecurity for betterleaks-cli 2.0.0rc16
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.
Full provenance
All 7 files in this release have been uploaded with provenance metadata.
Attestation for betterleaks_cli-2.0.0rc16.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.
Transparency logA 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.