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

Uploaded Source

Built Distributions

dpsa4fl_bindings-0.1.67-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

dpsa4fl_bindings-0.1.67-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

dpsa4fl_bindings-0.1.67-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

dpsa4fl_bindings-0.1.67-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.7 MB view details)

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

File details

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

File metadata

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

File hashes

Hashes for dpsa4fl_bindings-0.1.67.tar.gz
Algorithm Hash digest
SHA256 42bbdc054a313c108988bf4642a39b60c027f1cc48c30001275b1382c4356fe7
MD5 fabff062309599b6e72fe61a31d90952
BLAKE2b-256 c2e694ec5b96403f7a25f8092caa3e4435bf186315e66ec05dced7505c3faae8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.67-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 dd7c45548ad45d87daf3724524a59e4a1dfe0c764cd2c3cdf50b41d78260d6ed
MD5 98c6ea8db658a2f84d32a227ce9c35d1
BLAKE2b-256 ee4e2c7b8b0929f19b4f65bdee841f7cab2dedb7d8a1d036e07ca4c57dc93457

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.67-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 027c98e2ac8243da3c0b93cd707c3c5c43cf29fd45651bf7ea515228774423a4
MD5 0a7c6164f75dc7dd30197c86cbde69d2
BLAKE2b-256 a33e7d1ac0b70947a9be1b3095574e65ba18f0642a62cd50c12c80be1275992f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.67-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2972666e297e029d313fb725b4baae42386a9c632d242275aa810e7dc8e50a5b
MD5 0d10f60bb011690334d765a3e2249b1f
BLAKE2b-256 b5b7fcd34f2b2862b20b222b71ebdf218aac455e1d652ba4ddd8bac4af9b0b26

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.67-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 863b12194ee3a9dbb6a88a30371050b88f6dbd1f36bf8f5ccd9fef19688e12c6
MD5 088378c32c78cbcefbe7ecadc7035675
BLAKE2b-256 e3d61068983a9f1c36d672b1e25516f97077c1d53bb6b6cb7bb66371ad34eab7

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