LexiRedact
LexiRedact is a privacy-preserving RAG ingestion middleware package for detecting and redacting PII before content is embedded and written to a vector store.
Installation
pip install lexiredact
Optional dependency groups are available for specific integrations:
pip install "lexiredact[pii,embed,store,cache,cli]"
Quick Start
from lexiredact import LexiredactPipeline, load_config
config = load_config("lexiredact_config.yaml")
pipeline = LexiredactPipeline(config)
CLI
lexiredact --help
Release
This project publishes to PyPI from GitHub Actions when a version tag is pushed:
git tag v0.0.2
git push origin v0.0.2
The PyPI project must be configured for Trusted Publishing with the pypi environment and the .github/workflows/publish.yml workflow.
Metadata
Release files for lexiredact 0.2.0
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 |
|---|---|---|---|---|
| lexiredact-0.2.0.tar.gz | 27.8 kB | Without provenance | Details for lexiredact-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lexiredact-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for lexiredact-0.2.0-py3-none-any.whl |
Total release size: 69.6 kB
Release files / lexiredact-0.2.0.tar.gz
| Download URL | lexiredact-0.2.0.tar.gz |
|---|---|
| Size | 27.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5b11072f43ede2276f1a317168ff6613021e517223789afa454168b7a60f00c6
|
|
BLAKE2b-256 checksum How to use checksums |
277d31ff1af0a8d8688663cd5b0d3f734b8c13099ec76508de46e8375a955000
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Release files / lexiredact-0.2.0-py3-none-any.whl
| Download URL | lexiredact-0.2.0-py3-none-any.whl |
|---|---|
| Size | 41.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c967278c5f4292fa9e0576ce0d0fa39452aecc742ceb43a6318db369a99bfe3f
|
|
BLAKE2b-256 checksum How to use checksums |
8afa77946513ce679eb891cba0897143372fe763f4e57485d6f4c875ce8de42a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Security for lexiredact 0.2.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.