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)
Release files for PrivQ 1.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| privq-1.3.0.tar.gz | 30.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| privq-1.3.0-cp313-cp313-macosx_12_0_arm64.whl | CPython 3.13 | CPython 3.13 | macOS 12.0+ ARM64 | Details |
Total release size: 358.9 kB
Release files / privq-1.3.0.tar.gz
| Download URL | privq-1.3.0.tar.gz |
|---|---|
| Size | 30.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c9f9567038a4f727bb66ac7db6c5d273c31269cbb517e21de22e81c961b9329c
|
|
BLAKE2b-256 checksum How to use checksums |
17e6156643a9bb55e0c539ab712e52848ee03dca7a5ad0386a76d75a5d2e646f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.11
|
Release files / privq-1.3.0-cp313-cp313-macosx_12_0_arm64.whl
| Download URL | privq-1.3.0-cp313-cp313-macosx_12_0_arm64.whl |
|---|---|
| Size | 328.1 kB |
| Tags | CPython 3.13 macOS 12.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
3ad73563e340102d245a57f2988663589f8d28d6d74840d44373e9118f28fe6c
|
|
BLAKE2b-256 checksum How to use checksums |
c9f3d9dd026d33beade25c26b33e27fe3ddefa00affc6c8419e92b09c1da2156
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.11
|