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

Uploaded Source

Built Distributions

dpsa4fl_bindings-0.1.60-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

dpsa4fl_bindings-0.1.60-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

dpsa4fl_bindings-0.1.60-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

dpsa4fl_bindings-0.1.60-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.7m manylinux: glibc 2.17+ x86-64

File details

Details for the file dpsa4fl_bindings-0.1.60.tar.gz.

File metadata

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

File hashes

Hashes for dpsa4fl_bindings-0.1.60.tar.gz
Algorithm Hash digest
SHA256 60e084aa96eaa44bcaab7c15e2e456c948797fb3759958105233825d18b3ffd9
MD5 69677c18e0cd87e3c6408f7c021a00f2
BLAKE2b-256 7c46724d6c8b89dec5f05329e35bea2bbd2cd015f6adb37cb8e18643cd1fe3d1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.60-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 077e5b96ac9bea801b40b60410bd4fa5de9fcbd349d2e32c55b9a65f7f0ab524
MD5 1857fb0ab98e6aeef446979185c33516
BLAKE2b-256 fa866477141ce215ea9d311012212832dc1a57a7f4afacf8bbb449aaebe8b54e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.60-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8dea494a6491655ac42a8c258daa89845e252f164b19785795f4ad8df7d5d37c
MD5 1f451bce92652dd9be21b73c1c319f37
BLAKE2b-256 90e71c9f7eb9c6901c2446fa1d0f7de80af7f9374fa312a95277daf456de78e0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.60-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 53c03e2e57e6ad138a01bbd4a1908d12cb0e92c49477c5844b622ca9f2125b2e
MD5 4d82073db536b2c6990a19d990dcc411
BLAKE2b-256 527ac6bd4dfa5aa9fb89506335259c2481c256cda4755d149ccca07f04ffcc31

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.60-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fc57f398263dd22ac4aeae081cf42fe1832c17d11aeef2291f8e9a3aa51b2ce9
MD5 8b0796360f424fcfca6b6f1e859c31cb
BLAKE2b-256 9fcb9c218b6466be3133984dafb426e25fba20d340f2471add1e14685231fb6a

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