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

Uploaded Source

Built Distributions

dpsa4fl_bindings-0.1.69-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.69-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.69-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.69-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.69.tar.gz.

File metadata

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

File hashes

Hashes for dpsa4fl_bindings-0.1.69.tar.gz
Algorithm Hash digest
SHA256 328c03efcc2513d58effef8b0f1ce5823a289236b6913d3c6db03a05d9a967e3
MD5 708733f17bfdcd9846427f1448ff78f2
BLAKE2b-256 2f183c013b2578ae7db109235e9b7bd0587805b2f202567e8c89657ffb87d739

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.69-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 756becfb4140ab1350a655c10a43aa44117bb05f294fd96b18d0ef89b27ceffc
MD5 17cff52dbd327977eb4ff0e0cd9f1aa9
BLAKE2b-256 f3bc381c8ff1448ea2c930ce91d9d46c5a971ea6a05e99c70cc76de0fc709600

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.69-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a452510d9c0d89fe0d190b31e6bd2434180690039debee2382cc38bd35a5292e
MD5 9a034e3e8c0bff1a8c42768e0678dc6d
BLAKE2b-256 6b48c09d80d96b3c2ba1d73bbd389324e255738f0569901f361ba1708fb613a6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.69-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 cdda1b1bcab5eccd405279180672696652c7d09cf666afddf19c9cd5b1a936f9
MD5 651685f5881ce1cb886e466afeab9b7f
BLAKE2b-256 ded08078150691396feb15385a2184a48870515fe56d10cd8c920cf96a9d4f0b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.69-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f5b33980b63d65d3ca404ab413d02fef67b01a6cf70830ab2fafe6d52889ba12
MD5 2062e2135eb245ae988c9bdf786b5857
BLAKE2b-256 2526c31ac19500d92ce8a6be110bedaa0c97dc170144c139ed02b7b7d442f4d1

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