Skip to main content

To Identify and Redact Personal Identifiable information

Project description

Privato

Privato is a SDK for building secure and privacy-focused applications. It provides tools and libraries to help developers create applications that analyze and redact personal identifiable information (PII).

Privato provides both an API, CLI and a web interface for easy interaction.

Features

  • PII Detection: Identify and classify various types of PII in text data.
  • Redaction: Automatically redact sensitive information to protect user privacy.
  • Customizable: Extend and customize the detection and redaction capabilities to fit specific needs.
  • Easy Integration: Simple API for seamless integration into existing applications.
  • Web Interface: User-friendly web interface for manual review and redaction.

Installation

You can install Privato using pip:

pip install privato

Usage

Here's a simple example of how to use Privato to detect and redact PII in text:

from privato.core.redactor import Redactor

text = "John's email is john.doe@example.com and his phone number is (123) 456-7890."
redactor = Redactor()
redacted_text = redactor.redact_text(text)['text']
print(redacted_text)

This will output:

"<PERSON>'s email is <EMAIL_ADDRESS> and his phone number is <PHONE_NUMBER>."

Web Interface

To run the web interface, use the following command:

uvicorn privato.app.main:app --reload

To start the frontend, navigate to the privato/static directory and run:

npm install
npm run dev

Then, open your browser and go to http://localhost:5173.

Docs

For more detailed documentation, visit the Privato Documentation.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

privato-0.1.3.tar.gz (43.4 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

privato-0.1.3-py3-none-any.whl (43.4 MB view details)

Uploaded Python 3

File details

Details for the file privato-0.1.3.tar.gz.

File metadata

  • Download URL: privato-0.1.3.tar.gz
  • Upload date:
  • Size: 43.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.1

File hashes

Hashes for privato-0.1.3.tar.gz
Algorithm Hash digest
SHA256 373975d422791f74ccb1f14a6dfa71db1954a0138129d908878ad29f12e5d1d7
MD5 e64b4dbde6039a5a0b44582308db034e
BLAKE2b-256 2834840dbe1f68094f53358873edc45a4975f8e8e64188c7355b264238858052

See more details on using hashes here.

File details

Details for the file privato-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: privato-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 43.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.1

File hashes

Hashes for privato-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 846eb2c8353f1bdba352700c64e8542c8a82514eb886eb57a6bfa04382664439
MD5 6ee121e2a31c55f5d3c94a99b66c0d84
BLAKE2b-256 52ee9f53a4233e4971a63d048b8d81ac0548fc4b2ad0b5f651a3b043d0fb30f1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page