Privacy-preserving SQL query transformation library
Project description
PrivQ
PrivQ is a privacy-preserving SQL transformation library with C++ extensions.
What It Includes
- ORQ: normalizes SELECT column order
- PrivQ join reorder: differentially private table-size estimation utilities
- ShrinkWrap: structural SQL padding transforms
Install
pip install PrivQ
Quick Start
import PrivQ as p
sql = "SELECT salary, name, age FROM employees"
orq_sql = p.orq(sql)
padded_sql = p.shrinkwrap(orq_sql, padding=True, pad_level=2)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
privq-1.3.0.tar.gz
(30.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file privq-1.3.0.tar.gz.
File metadata
- Download URL: privq-1.3.0.tar.gz
- Upload date:
- Size: 30.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c9f9567038a4f727bb66ac7db6c5d273c31269cbb517e21de22e81c961b9329c
|
|
| MD5 |
301b09dbe507347a354552730288207a
|
|
| BLAKE2b-256 |
17e6156643a9bb55e0c539ab712e52848ee03dca7a5ad0386a76d75a5d2e646f
|
File details
Details for the file privq-1.3.0-cp313-cp313-macosx_12_0_arm64.whl.
File metadata
- Download URL: privq-1.3.0-cp313-cp313-macosx_12_0_arm64.whl
- Upload date:
- Size: 328.1 kB
- Tags: CPython 3.13, macOS 12.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3ad73563e340102d245a57f2988663589f8d28d6d74840d44373e9118f28fe6c
|
|
| MD5 |
0ab85651cfb044ea5146beafd24544a6
|
|
| BLAKE2b-256 |
c9f3d9dd026d33beade25c26b33e27fe3ddefa00affc6c8419e92b09c1da2156
|