A Python library for local PII redaction that encrypts personally identifiable information in text while preserving contextual meaning. The current version is 0.6.5, updated as of late 2024. Release cadence is irregular, with occasional dependency updates.
pip install argus-redactNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Create a Redactor instance with an encryption key, then call .redact() on text to replace PII with placeholders.
Set the encryption algorithm explicitly when initializing: Redactor(algorithm='AES-128') to maintain backward compatibility.
Ensure the key is exactly 32 bytes for default AES-256. Use key.encode('utf-8') or generate a proper key.Replace all calls to `redact_pii` with `redact`.