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

Uploaded Source

Built Distributions

dpsa4fl_bindings-0.1.59-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.59-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.59-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.59-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.59.tar.gz.

File metadata

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

File hashes

Hashes for dpsa4fl_bindings-0.1.59.tar.gz
Algorithm Hash digest
SHA256 f2eff45527a9737467a52b41cf58b9b81421c30af0d802e59295e4c570e26e3d
MD5 6016cba5dd8eecda6fabc5120570048a
BLAKE2b-256 2f1b9ed5922bd22371e92b2076c23fc66df9aa4d7dd4b1e226f3ab2d8236b3f2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.59-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8e6f423ec825de8fdecf900b0587c0fb81dd365fa3e8789b49c9e3b0b4f1e193
MD5 c7f099ca6448640648df2b7e003e5a9a
BLAKE2b-256 176f1b57530010de762ec967fb7602d49e7f8fcd71189c2f3c455873930d7a82

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.59-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2acceb09242cc21320a8d66fbe38546edbf18b49afd987413921349f0f97556b
MD5 905414bc6917f16b238b7069c236a41d
BLAKE2b-256 2f9a2d59fb4778a53ea342c089ab081aee6fdbc5d489413a8e29c17e1f276f53

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.59-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9d8b714f938a427aa8eb003adfb866544dc3768c3b992867c4d03c885e61461c
MD5 a6d7c59b06a5bd8bfdf2fbd15666a7a5
BLAKE2b-256 b47f89969687341b122141886284fb7e45cc636bcb1cf3ac72248fe361012305

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.59-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 aa4da60b084d1aee4349974d6a9487bba1b0f27057e9afb7d3c0194c05492ceb
MD5 b8b3e993d22c399feac7a4d054ebe8a7
BLAKE2b-256 299833ded94d03c654a5ec7ecd4abaa2d5b57db48be4b5f41c3fad44537cd74f

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