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

Uploaded Source

Built Distributions

dpsa4fl_bindings-0.1.68-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

dpsa4fl_bindings-0.1.68-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

dpsa4fl_bindings-0.1.68-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

dpsa4fl_bindings-0.1.68-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.6 MB view details)

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

File details

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

File metadata

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

File hashes

Hashes for dpsa4fl_bindings-0.1.68.tar.gz
Algorithm Hash digest
SHA256 31267b44f2ce99f02a9389c27e41b6c95afca2c1d14eb76ca2c1b6def53d5462
MD5 386184122011a0b7a851ae494cc094ff
BLAKE2b-256 b926c4345e5bfa3fff5c1974c6111dfc865efbb0ca675cd43e91534de61683aa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.68-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 63ed000780100fb46405c2aa58e9aa65e82f21985b01436261ffc7ba67d77289
MD5 39bca86bf5f993a470dc01baa5b2f1b5
BLAKE2b-256 cbc4026f7287c93fc901c78c65e25ba91876befda1519cac2f117348d6b2ef1d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.68-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ccd19c4196e69d787921626c3dd9c1ba5d4a2087bd2de581b5e55809cd63088f
MD5 36f9899ebe85ed273e8f6baab0db72cf
BLAKE2b-256 965639c4226e6dbda773243734db6c07aad811560dfb3112cb9fed53889da69e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.68-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 aa8f53807ce6a44d7c6a0e540e89e057ce6213fa6a1bc68e3cc7fab33a86862a
MD5 f5da63b2772d33b39c250641a2b92e44
BLAKE2b-256 4aec02a7af887d0efc5899b5c864a3c18843af0f5486078d53ff0b128e9a2f0c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.68-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 70ee1860c29988c678774b6bfa62668b34be1d3a5ab99e7faff3afd27e4c3ace
MD5 3227095cf66f9e56782929bd5f5dfe6e
BLAKE2b-256 05d7bc7c6b0985382f0a8f7af25034ba22c17108425ed75c13fb0bd1c1397024

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