Skip to main content

No project description provided

Project description

Python bindings for dpsa4fl

Warning: This project is work in progress and should not be used in production. The current implementation is a prototype.

The dpsa4fl project aims at providing a mechanism for secure and differentially private aggregation of gradients in federated machine learning. For more information see the project overview.

About this package

This package provides python bindings for the dpsa4fl library. The following functionality is provided:

  • Controller api: start a training session on the janus server, and collect aggregated gradients.
  • Client api: securely submit gradients to the janus server.

A modified janus server setup is required, see the example project for step-by-step instructions.

Development notes

To release a new version of this package, you have to:

  1. Increment the version number in Cargo.toml.
  2. Push the current state to the release branch. Then github actions will do the rest. Alternatively, you can use act to run github actions locally.

Use maturin to build the python package. To do so using the poetry python package manager, do the following in the dpsa4fl-bindings folder:

poetry shell
maturin develop

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

dpsa4fl_bindings-0.1.64.tar.gz (32.8 kB view details)

Uploaded Source

Built Distributions

dpsa4fl_bindings-0.1.64-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

dpsa4fl_bindings-0.1.64-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

dpsa4fl_bindings-0.1.64-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

dpsa4fl_bindings-0.1.64-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.7m manylinux: glibc 2.17+ x86-64

File details

Details for the file dpsa4fl_bindings-0.1.64.tar.gz.

File metadata

  • Download URL: dpsa4fl_bindings-0.1.64.tar.gz
  • Upload date:
  • Size: 32.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/0.15.1

File hashes

Hashes for dpsa4fl_bindings-0.1.64.tar.gz
Algorithm Hash digest
SHA256 1d7b454cd8c552c643007808a667ee53bffb79109d00a678b683a23c9f8b6889
MD5 b550af25ea57b254cc16300e20fc0687
BLAKE2b-256 01bc8d9234b4e5e0a925e138bf1fe67b52b6ca3c4ea6aec38e4803f73fe385bd

See more details on using hashes here.

File details

Details for the file dpsa4fl_bindings-0.1.64-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.64-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 179c4ec147fa73f8691029477712ad8ed77156010530004c79812405a8bc8bec
MD5 b12b85205ebcccb6cfde9d11e4b566fb
BLAKE2b-256 f53cd736b93deb5c0ca95158b799f4fbaf9847a74e22b39dbc6a1095a6c356de

See more details on using hashes here.

File details

Details for the file dpsa4fl_bindings-0.1.64-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.64-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8f5ddf46ed3a0f39e0e8476a8ceb05097a32c1e144f0cc5b6e094f58c775cf5e
MD5 36dd4261b5f5f616eac78e11d191985f
BLAKE2b-256 bed955f8c83bb34c2702d01035962d616497b50fe0f61d3e56c69c82ec85a14d

See more details on using hashes here.

File details

Details for the file dpsa4fl_bindings-0.1.64-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.64-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 595b1dca4d53ed6f90dcad8e688465a94bccbc1901d01cb12870fe6f85bec672
MD5 4554196a5f625d49c69eb2830dcc0dd0
BLAKE2b-256 f1925f287cbcec6a121a23ca4cf0ca1e440a56b3174b9199df1faa88e27e623d

See more details on using hashes here.

File details

Details for the file dpsa4fl_bindings-0.1.64-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.64-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c5d0d57cf4941dd45012dd89ff0c80977aeb61efa3a57932ad371632318944f1
MD5 d109e27f27f0282bf933c6d329f0cdef
BLAKE2b-256 ebe51af492a6adb11eedad058a5c40020c18ec1c224aafd23214b8c0d04fc5db

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page