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

Uploaded Source

Built Distributions

dpsa4fl_bindings-0.1.52-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.52-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.52-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.52-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.52.tar.gz.

File metadata

  • Download URL: dpsa4fl_bindings-0.1.52.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.52.tar.gz
Algorithm Hash digest
SHA256 ab0307b7d3346831efb933662473a90ee01b504e062ea4c86ca32f077e1d43f6
MD5 756e3f8e6d1c6be010e36a285af838bb
BLAKE2b-256 b4e1e1f029fb97a73dacfa3b8ef98ced0720bc019235cdd2ac60dc93753061ea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.52-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 06ccab6342d200fd44aa1c73783144f31dfb0353d5405c71e731f7d15a7a58ec
MD5 f9070603b2e5cf2c02d5683a38163344
BLAKE2b-256 391ad8199d432ebb18a3c72eda18d525d0a18258479c5880078043fb8aaf45f4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.52-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c98168200f64375ed2cca181eaac61198b604c6157ba3c93cefd82befa6330e4
MD5 272d8eb0b6c6283cbbd393e16c92cdb7
BLAKE2b-256 4fc081b1fa419d40fe6bdc9f1511ed90e4f8ec6c6e1d106d5def0f40f110bb93

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.52-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b40c474ceb5cf20c2ea8282e20260b07c89e872e248617d6c582d7d4196fa9eb
MD5 e17c5d0467b485494c07cb3fe373129c
BLAKE2b-256 4c6c1d6c81cbddccf17b04f9cd7008f2adfb28022c1e999bf3168507ac3fbadf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.52-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0808b5cff197b92080494ecec6923bcdfc40c9007b7cf178f5f5089d821a0205
MD5 f95a83db3eb8d17cdfb699197c8d40bc
BLAKE2b-256 63b0ce37f3db63899c8b3a421635b8ea20c01b1ccc6d988e6edbb7090a4712b0

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