Skip to main content

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)

Source distribution for lexiredact 0.2.0
File Size Uploaded
lexiredact-0.2.0.tar.gz 27.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for lexiredact 0.2.0
File Interpreter ABI Platform
lexiredact-0.2.0-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page