Registry / ai-ml / ghostpii

ghostpii

JSON →
library2.0.0pypypiunverified

Ghostpii is a Python package for private computation using homomorphic encryption. It provides encrypted hash functions, batching for API calls, and data frame optimization for machine learning. Current version: 2.0.0 (Cheetah), requiring Python >=3.6. Maintenance cadence: irregular.

pip install ghostpii
INSTALL
IMPORT
SIG · GHOSTPII
G
ghostpii
ai-mlpythonv2.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Ghostpii
from ghostPii import Ghostpii
from ghostpii import Ghostpii

Initialize a Ghostpii client with API key, then compute an encrypted hash.

from ghostpii import Ghostpii import os client = Ghostpii(api_key=os.environ.get('GHOSTPII_API_KEY', '')) # Example: compute encrypted hash hash_value = client.encrypted_hash(b"test data") print(hash_value)
Debug
Known issues
breakingVersion 2.0.0 (Cheetah) introduced breaking changes: batching for API calls and new homomorphically encrypted hash functions. Code written for v1.x may need updates.
fix
Update client code to use new batch endpoints and encrypted hash signature. See migration notes in GitHub release.
affects: <2.0.0
deprecatedSome older API methods are deprecated as of v2.0.0. Check deprecation warnings in logs.
fix
Replace deprecated methods with new equivalents documented in the v2.0.0 release notes.
affects: >=1.0.0,<2.0.0
gotchaRequires Python >=3.6; Python 3.5 or older are unsupported and will cause installation errors.
fix
Upgrade Python to at least 3.6.
affects: all
Upgrade
Version history
2.0.0latest on PyPI
Audit
Dependencies

No dependency data recorded yet.

Agent activity
35 hits · last 30 days
node
32
Amazon
1
OpenAI (training)
1
Resources
ghostpii — pip install ghostpii · libregistry