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

Uploaded Source

Built Distributions

dpsa4fl_bindings-0.1.62-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.62-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.62-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.62-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.62.tar.gz.

File metadata

  • Download URL: dpsa4fl_bindings-0.1.62.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.62.tar.gz
Algorithm Hash digest
SHA256 9c79cfaa82b66bdd6aeafb29b0e013a1ecce13d9c485146a5922c09e45cc48e2
MD5 216fe132b3d8317b79b5196562a6b6a9
BLAKE2b-256 0d2b09e91399b888116042a6882126a5fa339dcc5b543c5f31dfc1daa5350b9e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.62-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9a0bacee84668ad7877bcd8ca9288cd37de47d15fe382a125ff0ec01ba7d56af
MD5 83b20703de12216b97eb6df6341196c4
BLAKE2b-256 9e1a9a622f57b66a092796a810d21108274e00e6732adbdb237a8096db3cbe9b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.62-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b94746a74bf76485f8eb1b569539cf1658579ad1b4c03e0d6eb8daeeba115680
MD5 070a530130b2b8e59d9bb3fdf36d4bb1
BLAKE2b-256 c76d169b5dfbc278a181c50766dd3cbdd80591b446726b7d4e147111181d863e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.62-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 935d1649a8ff031ccebab406e6c5f403cf587385628027ecfde3fc4eb0cd3ec3
MD5 30a5f12e77f629381e7a4c40380f3fca
BLAKE2b-256 b5ed7f154003e2dd0ce540507c17a545ffcf304b172f5482675108af2f4c9b2d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.62-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 80b62c8556c2089b40133c5192cca51ff67f4ed3503b35acaa243e0f0400c30d
MD5 c546eab0e2174c4bb70bfe02c8bed5b4
BLAKE2b-256 18a98f1a86d50487ab9a745906223ebddeb7e9afbed949e9253ae8ff57ba1db5

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