Skip to main content

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 Backend, use the following command:

privato api run

Then, open your browser and go to http://127.0.0.1:8080.

Make Commands

  • make help: List all available make commands.
  • make install: Install the required dependencies.
  • make install-dev: Install development dependencies.
  • make test: Run the test suite.
  • make run: Start the FastAPI Development server.
  • make clean: Remove temporary files and directories.
  • make deploy: Build and run the Docker container.
  • make down: Stop and remove the Docker container.

Docs

For more detailed documentation, visit the Privato Documentation.

Metadata

Release files for privato 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for privato 0.1.4
File Size Uploaded Provenance Actions
privato-0.1.4.tar.gz 43.5 MB Without provenance Details for privato-0.1.4.tar.gz

Built distribution (wheel)

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

Total release size: 87.1 MB

Release files / privato-0.1.4.tar.gz

Download URL privato-0.1.4.tar.gz
Size 43.5 MB
Tags Source
SHA-256 checksum
How to use checksums
1782d6fbf7b068f7c4d1c270096d02d77866f6edb05a51e206072b4e5c36b16e
BLAKE2b-256 checksum
How to use checksums
99002419cb2c7f057330a19cd88895fbbd1d631364dbf9d412d565ff025cfff8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.1

Release files / privato-0.1.4-py3-none-any.whl

Download URL privato-0.1.4-py3-none-any.whl
Size 43.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
c5c0cba1562666ba40759a596a889c3165a50abf2ada104e456fbd0473deb17a
BLAKE2b-256 checksum
How to use checksums
5f16dc08db0745cf4ce03a15cf52475b82666a1374c0495464714a4a6ae5651f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.1

Security for privato 0.1.4

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.

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