This release is a pre-release and may not be stable for production use.
rustleaks for Python
The rustleaks package scans bytes and text for secrets, such as API keys
and passwords, with the Rustleaks engine. It runs in your process through a
native library that ships in the wheel. It needs CPython 3.12 or later and
uses only the standard library.
import rustleaks
data = b'aws_key = "AKIALALEMEL33243OLIB"\n' # rustleaks:allow
with rustleaks.Engine() as engine:
for finding in engine.scan(data, path="config/app.env"):
print(finding.rule_id, finding.start_line, finding.secret_range)
The value in the example is synthetic test data.
Read Using Rustleaks from
Python
for rules, options, errors, threads, timeouts and safe logging. The Python
code is under the MIT license. The native library in each wheel also holds
code under BSD-3-Clause, Apache-2.0 and Apache-2.0 WITH LLVM-exception; the
wheel's licenses folder holds every license text and notice.
The code lives in bindings/python/ of
joshgarnett/rustleaks. Report
issues and send pull requests there.
Metadata
Release files for rustleaks 0.3.0a1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
Total release size: 15.7 MB
Release files / rustleaks-0.3.0a1-py3-none-win_arm64.whl
| Download URL | rustleaks-0.3.0a1-py3-none-win_arm64.whl |
|---|---|
| Size | 1.9 MB |
| Tags | Python 3 Windows ARM64 |
|
SHA-256 checksum How to use checksums |
04e8c6f61e6ee7be3f7bae67be3d84b5296e326a13371751d6349bef52c3dcc4
|
|
BLAKE2b-256 checksum How to use checksums |
7139aee6ca130ac760291340bd8ff0ecd99ab6bcb34de9d04291e6a2a6c1e106
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
rustleaks-release/0.1
|
Release files / rustleaks-0.3.0a1-py3-none-win_amd64.whl
| Download URL | rustleaks-0.3.0a1-py3-none-win_amd64.whl |
|---|---|
| Size | 2.0 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
1c5bbea0e8896fef42610417e40b6cb68c3cbf2882f3043420fca155044b0f83
|
|
BLAKE2b-256 checksum How to use checksums |
ad0d710e45dfa4d512c7dd097414e4b1987f36eb89e7bfe459c9b7d67642ce7b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
rustleaks-release/0.1
|
Release files / rustleaks-0.3.0a1-py3-none-musllinux_1_2_x86_64.whl
| Download URL | rustleaks-0.3.0a1-py3-none-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 2.1 MB |
| Tags | Linux musl 1.2+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
37f2b57dec72c51f18c07cfe8c38662d6dd71ac6991415afbb17bb830a5a3e58
|
|
BLAKE2b-256 checksum How to use checksums |
73ecd7f04962ca1c85b07a37e58b9533f33febfa15e8885d55a24bf8916859be
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
rustleaks-release/0.1
|
Release files / rustleaks-0.3.0a1-py3-none-musllinux_1_2_aarch64.whl
| Download URL | rustleaks-0.3.0a1-py3-none-musllinux_1_2_aarch64.whl |
|---|---|
| Size | 2.0 MB |
| Tags | Linux musl 1.2+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
82f02bd0434dbc2d68253bdce1bf83bd1d08761afd613416eb1055d93bcac9bf
|
|
BLAKE2b-256 checksum How to use checksums |
38b1c7fe08d9e1a12895c18f731f34939f31b53227aa56c6312037453997b1f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
rustleaks-release/0.1
|
Release files / rustleaks-0.3.0a1-py3-none-manylinux_2_28_x86_64.whl
| Download URL | rustleaks-0.3.0a1-py3-none-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 2.0 MB |
| Tags | Linux glibc 2.28+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
3a257be8d23ac933406135a4bee8af1499d892716e6a77505452be027c94ae36
|
|
BLAKE2b-256 checksum How to use checksums |
49b06955bee9a3b31bdbc8724fee63fa1b8b5d850cd041e54480e6a795c3e101
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
rustleaks-release/0.1
|
Release files / rustleaks-0.3.0a1-py3-none-manylinux_2_28_aarch64.whl
| Download URL | rustleaks-0.3.0a1-py3-none-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 1.9 MB |
| Tags | Linux glibc 2.28+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
b2e8d7cb9e51c2b39f66da5fa648c2a86c8d1190f581fba90d23985ceecd27e4
|
|
BLAKE2b-256 checksum How to use checksums |
424bb50fee7700c327ebdb8ebd26f2d9ac47eb934546c572b2b0190142648595
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
rustleaks-release/0.1
|
Release files / rustleaks-0.3.0a1-py3-none-macosx_14_0_x86_64.whl
| Download URL | rustleaks-0.3.0a1-py3-none-macosx_14_0_x86_64.whl |
|---|---|
| Size | 1.9 MB |
| Tags | Python 3 macOS 14.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
3f3b7b7f8edf162066199ab7208f0833be75be26071fec370a9fda0d282fddda
|
|
BLAKE2b-256 checksum How to use checksums |
7774bee26df9a1821f03534a2eeffc03fd895a8208d3e76471378bb0554d5f92
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
rustleaks-release/0.1
|
Release files / rustleaks-0.3.0a1-py3-none-macosx_14_0_arm64.whl
| Download URL | rustleaks-0.3.0a1-py3-none-macosx_14_0_arm64.whl |
|---|---|
| Size | 1.8 MB |
| Tags | Python 3 macOS 14.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
bc244528416e0926787780f36f6ba82fd1cf95b33c7156f6f420c6581ac70209
|
|
BLAKE2b-256 checksum How to use checksums |
4244842c8d78ce9063f0e3e78b9a7415ac83f3946d274cdcc01da3439b5471f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
rustleaks-release/0.1
|
Security for rustleaks 0.3.0a1
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.