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

Uploaded Source

Built Distributions

dpsa4fl_bindings-0.1.50-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.50-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.50-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.50-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.50.tar.gz.

File metadata

  • Download URL: dpsa4fl_bindings-0.1.50.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.50.tar.gz
Algorithm Hash digest
SHA256 63e3fbf0421d0be2b8376507f4117948122d97ef556f1cc7a67f7a9777ebe8c6
MD5 29938007626915e4f1584ff6d6836173
BLAKE2b-256 a5a24b77359cc5968c4eac29dd239b957560c75b80778089a1791e8ff0e60bd9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.50-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 20417baa7910e72ceabbf22bfa57ffd833e481f421aa95e49234564e5df775ac
MD5 3afe0fc2d07fed349d7949638d567082
BLAKE2b-256 375220c2e9c8d2a63a6e1bf5b5e4e31e11bad44695f05e08142fa82d44364161

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.50-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 df01c08db52e9a820e0af1bafacdb057f6512a6f70d356b7ca898f40bc8acc25
MD5 deef97df8ad262a1079f149c1e66cecd
BLAKE2b-256 eb18eaa8044e21eb3c66704d98b6d7ab3ce0c108b831ec6a493d5952a2057cfd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.50-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ae13f469d6ca19741f78e8ffd3758e72eef75a9e360c0bcdb08d34039bbbf3fc
MD5 8a652b57549a4b15793805fec748f7c3
BLAKE2b-256 8ee4c9ef9e72cf51885c41103ee636dbfd29d6b178c1b9cc6eb7ccf557f50315

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.50-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 da86b0fb08f480cbf67a3a6155502104e7f3b942a357f31bb3448a91050c4a4f
MD5 475964795a48a23bda057fee071d7422
BLAKE2b-256 791f485252fab3fb2c1b2f16d1ff0cf9bd85d08ccb3a91709e760d9adbafd5b1

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