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

Uploaded Source

Built Distributions

dpsa4fl_bindings-0.1.57-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.57-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.57-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.57-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.57.tar.gz.

File metadata

  • Download URL: dpsa4fl_bindings-0.1.57.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.57.tar.gz
Algorithm Hash digest
SHA256 fc081af99b6168a5285832e8a6862335d254d8b5dc5ae5708846425258c4559f
MD5 feebb5761290686bba3b23f552c6ef9f
BLAKE2b-256 3d60d18a2c3115de2007c888a552f466b4f5182320216c09587ae7d159e85359

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.57-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 930b24f6f00d856de0006f4432a5d4bc47198091db1b27896d0437e74354fa3b
MD5 be11b3de4e52c3347174af8baa4f8372
BLAKE2b-256 2e46b9e06d0c29ba170774b879725bd828d7ada377cb7d955af307c6948ebfcc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.57-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2464da0bab3c32908c05833d92904fdc65339a019419449f213bb2343d2a857a
MD5 eeec400f3552b88004aef829f497e7e8
BLAKE2b-256 f98852b96a0c08d60ca0154346a12ac38497d793a5cb316d14be942663d8da03

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.57-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0e1a01dc85ad00600b061942638abcf0823eb8e6c7ff548fdbc9ec079641d181
MD5 f0070dea42c41e247493fe7972a7efc7
BLAKE2b-256 c65a1e3b3cb26f3436c30487dec4a44e1e3b3ac749124105c0cf61d4ff6480f9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.57-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9a29185bb831d77854dbddb886d7bdca2ad394c21fc3e55c7d9bf0b2d1d232b9
MD5 fe50aff21d1eecf42f565c9d7da23104
BLAKE2b-256 2b89e61881aeb1141da53118d4a26ae389a4057d4182688c3b57c1317894e98c

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