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

Uploaded Source

Built Distributions

dpsa4fl_bindings-0.1.58-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.58-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.58-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.58-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.58.tar.gz.

File metadata

  • Download URL: dpsa4fl_bindings-0.1.58.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.58.tar.gz
Algorithm Hash digest
SHA256 e506a99f4bb31663b3cab978c829525656cbdf350da73b9f14d007eaaf0577d4
MD5 d64cba8bcaabc5334aade5d454cc3a54
BLAKE2b-256 1e02a43e12600e8bc71274a4b16e4e78b9a40255b5f3af27726ab073b4bd9430

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.58-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 164654683282ffa3245b5a424bf84e58b9747aec8852bf62b96ec002306ea027
MD5 f26d200264d4c42e7837c718fb68f958
BLAKE2b-256 eb41c532729620a633aeada0757297b57154d0ce5254d90ff5a0cb85e8295828

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.58-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 329ed9dcb26f1253576ca4a361dbb49ed1e7832782d8efaeb42a7cd6dc88a7ba
MD5 144ef0e24391998d75758a8c6f5ac655
BLAKE2b-256 380c77c345cff748c4ca73bfd6b17e59b68bf24b4a5f27082b96221c86fda101

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.58-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 08bacb0703bacc35462bcf9f312b298e71f38d62254496beb6812237ab8b4346
MD5 26ece49ca6a609eaf23b2756ea3a82ee
BLAKE2b-256 8c4fca2a87376ac44b293b0bbd46853968df4d15df059fc4fc1476e30815f733

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.58-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c2306eae075e95b4f08b374a8e86fe9103d492a894f1a25255140c6ae7ea309b
MD5 5635fc100471bcf949670350ca1e330f
BLAKE2b-256 99b375bca1831ebcc765e0a29f503ef78f95761dc02fb20548c1f850474ac9cf

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