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

Uploaded Source

Built Distributions

dpsa4fl_bindings-0.1.55-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.55-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.55-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.55-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.55.tar.gz.

File metadata

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

File hashes

Hashes for dpsa4fl_bindings-0.1.55.tar.gz
Algorithm Hash digest
SHA256 f06c25717773229ea143cb9fd030d0080662fb0f6a5c57885a8d91ca546382dc
MD5 3e406d401b295ea58dae7941d7bd63b2
BLAKE2b-256 dd2aa78660e99776937c7dba49c8f45180889675b98071beaa81a2bdfbcb1a32

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.55-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 09b6654a92f2e7682ee7314376575110b7d60c5a639dba05ae047d4a66c0d299
MD5 ec68fd2ea451003a3701f31036d03cc1
BLAKE2b-256 0ea4a4e58ef49d86ab713665b138bac80b25251bb2a8913574491328ea8da552

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.55-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 725995d47dbf1d7a3277eb49f46b64bd3bffb29ab92de2a879df328f80af1138
MD5 dbe18cd60763980cd71ef02fce05662a
BLAKE2b-256 890ee1858b6d8807df55422f0e6415d18a33d8b17d628122549f30e8b26933a0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.55-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 02590312203a49ddbb54c10e57302bcaa2d5d3be1bd239db0ca9d2592f9e4d90
MD5 6f16b5a7e40457c4411a06fb26656486
BLAKE2b-256 9a37bd1843d881efae7ee34a33cfbcb364640bc3c675fd047bee71d4f45564b3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.55-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c03bb13b29ef8a0aa4806650ea8ae0b429dcb533faa55eb104547066dc8f5e25
MD5 0f5a21608ef6db767d0f57eaf4a56f63
BLAKE2b-256 5ea0e9cfebe5fbd39deef1c0406588220ad1e49d9c933200127ec5f99fe513c5

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