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

Uploaded Source

Built Distributions

dpsa4fl_bindings-0.1.46-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.46-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.46-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.46-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.46.tar.gz.

File metadata

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

File hashes

Hashes for dpsa4fl_bindings-0.1.46.tar.gz
Algorithm Hash digest
SHA256 b4df3501f0855cfe55de8206bcf3f2b854783d15682449166d9756bfa330b67a
MD5 c1182b0a15c129356a1daff6ee34f064
BLAKE2b-256 c4fdd4c4a77e3f753e4c81d3ab0edbd4057c72856e12b7e32de9f81778d76e69

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.46-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d704ab533187ec72d6378327127944125124c325ae3ea524a189c9799fe02bf4
MD5 8755b7ad7508768df223b5580687523a
BLAKE2b-256 13efa2d20b28fbf4219e34fd098f73e2e8665a2666080ee370d640026f7d1451

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.46-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e9db0e9bd027936669dcb86acb717bb16d8413a3a0035d32d772a1e49505cd3f
MD5 57a5698550ee9329fca431c16c5256c1
BLAKE2b-256 b89b42d275df35ba53918cc1bd243a1dcd9453f73aa4c25b634cbe14b4b21015

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.46-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 288b385fb64f5a9b341a01cefd584e5c833be16455d67df3e87c118ee3b7380c
MD5 4093b7f2fa122e975717a5c52904d7bc
BLAKE2b-256 7c355f1002ea87cef34b3a30a14444e813a0b28bff182669caef047c0ccdbc7a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.46-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 02f8f93ea41f135b6b5a02e943091661ad7ed3228c4d5a9db0acb54800ebb559
MD5 ec4c10a1ce5d941e952bf6d4e5e02778
BLAKE2b-256 e0ae7cb4dd5c22ae27f17908d59d219696161794d7729b9162ff7bafbae2b9f5

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