Skip to main content

sage-privacy

Privacy protection algorithms for SAGE, including differential privacy and machine unlearning.

PyPI Package: isage-privacy

Boundary

  • Root package (sage_libs.sage_privacy) exposes only stable metadata and explicit registration API.
  • Research implementations are accessed from subpackages:
    • sage_libs.sage_privacy.dp
    • sage_libs.sage_privacy.unlearning
  • No root-level re-export of concrete research implementations.

Installation

pip install isage-privacy

Usage

from sage_libs.sage_privacy import register_to_sage
from sage_libs.sage_privacy.dp import GaussianMechanism
from sage_libs.sage_privacy.unlearning import GradientAscentUnlearner

register_to_sage()

mechanism = GaussianMechanism(epsilon=1.0)
unlearner = GradientAscentUnlearner()

License

MIT

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

isage_privacy-0.1.0.2.tar.gz (30.7 kB view details)

Uploaded Source

Built Distribution

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

isage_privacy-0.1.0.2-py2.py3-none-any.whl (40.1 kB view details)

Uploaded Python 2Python 3

File details

Details for the file isage_privacy-0.1.0.2.tar.gz.

File metadata

  • Download URL: isage_privacy-0.1.0.2.tar.gz
  • Upload date:
  • Size: 30.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for isage_privacy-0.1.0.2.tar.gz
Algorithm Hash digest
SHA256 c7c8514be26e1b66b5a92d0e605c102a98a5317b859c638101a0f0498cb05581
MD5 6a305384f8820bebb18d0eb6c51c9ce8
BLAKE2b-256 f5145ca0a1af3963d2f7abb32cf1701dfd8f287d321d6b1819942352e61dbe81

See more details on using hashes here.

File details

Details for the file isage_privacy-0.1.0.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for isage_privacy-0.1.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 308f899c3ac463b2d68016b9787a1bc408fa897ea210aa5692ee0e8917f485bc
MD5 701d817869e8bfecfc7572aa46579540
BLAKE2b-256 10aa46bdd3f3d9ff118b194293ae65d04ac49f92ed2912dfa6813e427ce6649d

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0.2 This release

2 files

0.1.0.1

2 files

0.1.0.0

4 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page