Tiny byte-level AI models on your CPU: the PureByte runtime, CLI and Python bindings (example specialists for credentials and personal data).
This package bundles the native PureByte runtime and its purebyte command, with thin Python bindings (standard library only). It runs any PureByte model file, including the three example specialists of the first release: pii (masks personal data), secrets-code (finds credentials in code) and secrets-bin (finds credentials in binaries).
pip install purebyte purebyte models pull pii # an example specialist, checked against its SHA-256 Command line purebyte redact --model pii ticket.txt # personal data masked, the rest copied byte for byte purebyte scan --model secrets-code . # leaked credentials in a repository purebyte scan --model my-model.gguf data/ # any model you trained purebyte bench --model pii # latency and throughput on this machine Python import purebyte redaction = purebyte.redact(open("ticket.txt", "rb").read(), model="pii") print(redaction.output.decode()) result = purebyte.scan("settings.py", model="secrets-code") for finding in result.findings: print(finding.file, finding.line, finding.col, finding.snippet_masked) Detected values are masked in every output unless you explicitly ask to reveal them.
byte-level small-models state-space-models ternary cpu-inference on-device secrets pii redaction
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Enable javascript to be able to filter the list of wheel files.
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 verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 28, 2026.




