Skip to main content

Energy Differential Privacy

Project description

This repository contains the pilot implementation of the core privacy methods for Energy Differential Privacy (EDP). The key components are:

  • Core Differential Privacy for energy efficiency analytics (eeprivacy)

  • Python API documentation for eeprivacy

  • Sample implementations of key use cases

[Examples and library documentation](https://openeemeter.github.io/eeprivacy/)

Energy Differential Privacy (EDP) enables the use of the gold standard of privacy protection, differential privacy, for high value energy efficiency analytics.

Installation

pip install eeprivacy

Local Usage

Notebooks

With your preferred notebook environment (like [JupyterLab](https://jupyterlab.readthedocs.io/en/stable/) or [nteract](https://nteract.io/)), install eeprivacy and try out any of the [example notebooks](https://openeemeter.github.io/eeprivacy/private-load-shape-algorithm-design.html).

REPL

>>> from eeprivacy.mechanisms import LaplaceMechanism
>>> LaplaceMechanism.execute(value=0, epsilon=0.1, sensitivity=1)
1.198515653814998

Development

Build docs:

./bin/build_docs

Run tests:

./bin/test

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

eeprivacy-0.0.5.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

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

eeprivacy-0.0.5-py2.py3-none-any.whl (10.4 kB view details)

Uploaded Python 2Python 3

File details

Details for the file eeprivacy-0.0.5.tar.gz.

File metadata

  • Download URL: eeprivacy-0.0.5.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.8

File hashes

Hashes for eeprivacy-0.0.5.tar.gz
Algorithm Hash digest
SHA256 7484066e14005c2ff131f24e5573c135b07d78f7cf8c2dd66257ad896e957c7d
MD5 cc4b999795f981b131867b878dd78fd6
BLAKE2b-256 db95b411dc79f71f2fdc6d4c189c015dd888d10e1a6fae997e10647485eb752c

See more details on using hashes here.

File details

Details for the file eeprivacy-0.0.5-py2.py3-none-any.whl.

File metadata

  • Download URL: eeprivacy-0.0.5-py2.py3-none-any.whl
  • Upload date:
  • Size: 10.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.8

File hashes

Hashes for eeprivacy-0.0.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c9082bd256ab99172beaba055948a17457f02dcd40cbbecf79581ec344232e19
MD5 68954e8a2b8b7c525183dc7f8e34c516
BLAKE2b-256 be7d830439747c3bf3b7c2b35df09d9ef1a048e0a32d4b06eb4190cb1ef609ea

See more details on using hashes here.

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