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.51.tar.gz (33.4 kB view details)

Uploaded Source

Built Distributions

dpsa4fl_bindings-0.1.51-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.9 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

dpsa4fl_bindings-0.1.51-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.9 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

dpsa4fl_bindings-0.1.51-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.9 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

dpsa4fl_bindings-0.1.51-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.9 MB view details)

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

File details

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

File metadata

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

File hashes

Hashes for dpsa4fl_bindings-0.1.51.tar.gz
Algorithm Hash digest
SHA256 4ef18f1c05391f17acfe0279bb3bc15228adb9b51c9494537eadd360ca7047ca
MD5 8fbef99fc069a64d14c6da6d5ded3910
BLAKE2b-256 75d67dd9693cd69177517a239db9ccaea83fd473443c6edeedbb05c7a929352a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.51-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c85be894519c9ca600d8ac329f14cc6bd12dfe57eba12b123bc3f14508327aa9
MD5 167428069b95a0d3fa004d3846d1244b
BLAKE2b-256 172d1e4b3b8f140ffb6551c6dd0664f3a6d5933c23742de52e0ab3024a6d93ac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.51-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8b1e7bd3ff089b5026a4828d3fd5db57b66806ee54590b656c3c494400a0bf60
MD5 a9ef4d5258382e07d7d76d1b98cd3132
BLAKE2b-256 957cb92aab4beb5ea0655f818cda4625984d3d916ba7acae148731d8b4662666

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.51-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2f5e451477dd1fc4834dcf2b6f45ccda64e5b78cfe1b404c46ae9923cbd72645
MD5 aa214d6439d4d5a7a36e1826d144b08e
BLAKE2b-256 41c881351659e3fe03e1647b7ccc401b5b60577a396eb8215c463bdaab0ba68d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.51-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 63a2ae9c6c3d32a50dae8193360e897e7f24dfdfda79d9b7ff1ba67a6d28973d
MD5 3a03b3da16b190d9b241f328715ca7fc
BLAKE2b-256 4414c6c83ff0855f04dbc195d04d24d66290c91395245da67c4f4c09e8ba5a95

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