oscura-atti

v0.1.4
io.github.francescor/oscura-atti Checked 1 day ago Published 3 days ago

Redact personal data in documents with consistent labels (Person 1, Person 2...), locally, no cloud

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

analyse_pdf

List the personal data found in a document (PDF, .p7m, office file, image: give `filename` for non-PDF input so the format is known), grouped by entity with the label each will get, without changing the document. `config`: language, packs, public_persons, public_domains, public_values, policy, style, ocr (see README). `add`: text to redact anyway; `keep`: text to leave readable. The report contains the values found: it is meant for the operator.

ParameterTypeDescription
add
config
filename
keep
path
pdf_base64

redact_pdf

Write the redacted copy: every value is replaced by its label (Person 1, Tax code 1...), metadata, embedded files and annotations removed, a "redacted copy" footer on every page. Non-PDF input (office documents, images: give `filename`) is converted; the output is always a PDF. Returns the PDF as Base64 (or writes it to `output_path` when paths are enabled) and the report, without the original values. Publish only with outcome "ok" or after a human check.

ParameterTypeDescription
add
config
filename
keep
output_path
path
pdf_base64