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

Uploaded Source

Built Distributions

dpsa4fl_bindings-0.1.65-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.65-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.65-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.65-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.65.tar.gz.

File metadata

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

File hashes

Hashes for dpsa4fl_bindings-0.1.65.tar.gz
Algorithm Hash digest
SHA256 20f1c2d63cfd80ca74f53deabe9e05ce9d66a819e6b37363d4ccf5f1ee89be60
MD5 fbccff52c8ab88ad9287c550b5328ccf
BLAKE2b-256 c1e59106274abe9ddf7f182256c9e0ea1d8c730ab87e8bb77cf6995df16f9c34

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.65-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a80c791fdceb19e009976398a88ebd2a1816cd7a97dc3e675a382cc9278a87c7
MD5 15e9b746fbb018097708be4e16f61561
BLAKE2b-256 9e17f61e38c80fb5b091c1b8229ba8e7fdc611fa759581594911a23deec32133

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.65-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ffca77f4e963f1c8f3738dde8db9c7ca08a23c33db13006304fb9fd0114fa65a
MD5 374b43605867e7a1d7ec631c1312c6aa
BLAKE2b-256 6572b7028b2422cc31ee735204b0121857045967d35a79a7d96086f7a36cac8b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.65-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5b5796ef782a8cdfd72b7b3b873fc1627658daa0d9cf7ed417d00763acde266d
MD5 9989f5370689effc624611cfbe1ba691
BLAKE2b-256 03c0d21d07fb4e3611588e01ae5616c61c340cfd8f91f2e3bf9b64cdc7ba5853

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.65-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e52c96459d5a4210deedb99197ac0f13afa611e59eb7d773bc98437eff074f97
MD5 51b98581f74e2c8165d9af99f7f34262
BLAKE2b-256 f485bfd642e09516142d44da224f0b531a8f951ecd289d8f72f9c6129e9203f2

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