Skip to main content

eeprivacy

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

Metadata

Release files for eeprivacy 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for eeprivacy 0.0.5
File Size Uploaded
eeprivacy-0.0.5.tar.gz 5.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for eeprivacy 0.0.5
File Interpreter ABI Platform
eeprivacy-0.0.5-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 16.2 kB

Release files / eeprivacy-0.0.5.tar.gz

Download URL eeprivacy-0.0.5.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
7484066e14005c2ff131f24e5573c135b07d78f7cf8c2dd66257ad896e957c7d
BLAKE2b-256 checksum
How to use checksums
db95b411dc79f71f2fdc6d4c189c015dd888d10e1a6fae997e10647485eb752c
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / eeprivacy-0.0.5-py2.py3-none-any.whl

Download URL eeprivacy-0.0.5-py2.py3-none-any.whl
Size 10.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
c9082bd256ab99172beaba055948a17457f02dcd40cbbecf79581ec344232e19
BLAKE2b-256 checksum
How to use checksums
be7d830439747c3bf3b7c2b35df09d9ef1a048e0a32d4b06eb4190cb1ef609ea
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.0.5 This release

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page