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

Uploaded Source

Built Distributions

dpsa4fl_bindings-0.1.54-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.54-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.54-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.54-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.54.tar.gz.

File metadata

  • Download URL: dpsa4fl_bindings-0.1.54.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.54.tar.gz
Algorithm Hash digest
SHA256 25b818c0e78fec1642e2ee00cb90d6949980b375291f0bbb2cf3770fd73d7d6a
MD5 e9ae9423f0cc0f3165807521fd98b7e7
BLAKE2b-256 cd9684d55f33224d0e9796dbf40a299cb3ff858a1793add05682333bfb03ebdc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.54-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8482ea88b4932eab9b8dbd72af71d94bacee07f3dd06c1847c70f92325f52f26
MD5 87825a149fe9a87f40f0d6a7a3dad00e
BLAKE2b-256 1794bcbee56dd763128bf30b6fcca921b69ae80e9b71c4db54bade03d43af480

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.54-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d4b65abc3d3598925b79c2f916073e8bd26a38b0c6588c8452c4f931d6bb6205
MD5 ca047e6255c20ce38b37830459b9775f
BLAKE2b-256 1bfa68ebca038ea78dafdc84a0ff6c4438ad170782b1bb7d3303a729e70bd3a2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.54-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 cb17375dc34ed30f59713e368361dce68a372299f3df769d92f9b654b974b496
MD5 8c3470f3da1fa98ec08ff8c6b92c7f6a
BLAKE2b-256 cc5405007ce5086d71f1df107bcb3372aef1be0dc32704031e1cd9c6e359a137

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.54-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9e475d7ed2420b0f9beb5601c6e28d831382d8bcfd5f48541ee7edece6577669
MD5 b64dc4381038cb82233d74b32f7dd032
BLAKE2b-256 c93e7b9ce0fd03c7fc7b83dc1937dc2db79b80aa98ce0978e39da0a00ad34032

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