Skip to main content

In-VPC PostgreSQL masking and anonymization engine

Project description

PrivaCI

One command. Sanitized staging data. No data leaves your VPC.

PrivaCI is a stateless batch engine that reads from a PostgreSQL source (typically a production replica), masks PII with a three-tier pipeline, and writes realistic synthetic data to a staging database with referential integrity preserved.

Prerequisites

  • Python 3.12+, or the official container image (ghcr.io/boundarylogic/privaci)
  • A PostgreSQL source (typically a production replica) and an empty target database

Quickstart

Fastest path — self-contained evaluation stack (~60 s):

export ANONYMIZATION_SALT="$(openssl rand -hex 32)"
make eval-up

See the quickstart for the full walkthrough.

Your own databases:

pip install -e .
privaci gen-salt > .privaci-salt && chmod 600 .privaci-salt
export ANONYMIZATION_SALT=$(cat .privaci-salt)
export SOURCE_DB_URL=postgresql://user:pass@source-host:5432/app
export TARGET_DB_URL=postgresql://user:pass@target-host:5432/staging

privaci validate && privaci dry-run && privaci run && privaci verify

Browse the docs site locally: pip install -e ".[dev]" && make docs-serve

Documentation

Start with the documentation site or quickstart. Key pages:

Using PrivaCI

Developing PrivaCI

License

The engine is licensed under the Elastic License 2.0. Optional paid features ship as a separate plugin layer via the plugin contracts.

Commercial

Optional paid capabilities — signed compliance reports, schema-drift detection, FK-aware subsetting, JSONB path masking, and more — ship as a separate plugin layer on top of this engine, still entirely in your VPC. Learn more at BoundaryLogic.

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

privaci-1.0.3.tar.gz (127.0 kB view details)

Uploaded Source

Built Distribution

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

privaci-1.0.3-py3-none-any.whl (174.2 kB view details)

Uploaded Python 3

File details

Details for the file privaci-1.0.3.tar.gz.

File metadata

  • Download URL: privaci-1.0.3.tar.gz
  • Upload date:
  • Size: 127.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for privaci-1.0.3.tar.gz
Algorithm Hash digest
SHA256 2d6248e65fcb5acdefe03fb0a214d38d3ae819a39fa5780a12f155890ea1931f
MD5 03069a676d62e4331dbf34f7689b7026
BLAKE2b-256 debfdc432494060157d803f506989d7e18ece0a86e96488e10223c8f2614113c

See more details on using hashes here.

Provenance

The following attestation bundles were made for privaci-1.0.3.tar.gz:

Publisher: publish-pypi.yml on BoundaryLogic/privaci

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file privaci-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: privaci-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 174.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for privaci-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 75ce79ec4ef69b131be624da0f08754aa75e1f6653da44329036b838c31b58d0
MD5 c3b04f1317b665d7d71217a86cfd6c20
BLAKE2b-256 aace5574885480183f04ba8295559173f726c2b663f425a770c578a7f9766063

See more details on using hashes here.

Provenance

The following attestation bundles were made for privaci-1.0.3-py3-none-any.whl:

Publisher: publish-pypi.yml on BoundaryLogic/privaci

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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