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

Uploaded Source

Built Distributions

dpsa4fl_bindings-0.1.49-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.8 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

dpsa4fl_bindings-0.1.49-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.8 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

dpsa4fl_bindings-0.1.49-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.8 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

dpsa4fl_bindings-0.1.49-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.8 MB view details)

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

File details

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

File metadata

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

File hashes

Hashes for dpsa4fl_bindings-0.1.49.tar.gz
Algorithm Hash digest
SHA256 bc9cef0eef4379168f94f813b8ee000227440caf0b2e460c7d3ea3ebb29023ba
MD5 418f89f8de6cfce3ea122a2126030287
BLAKE2b-256 14337bd7e22815e3a21ba94a4eccad6b293ff5b6775bddeac26e37d9350f7aec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.49-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 df073cccafce8a8237bdaa704d5c7b0c65ce50c26440b800b54e7e1ed86223f5
MD5 1e9c7a444b2d9d3302b90ee2e7ded5e9
BLAKE2b-256 b7e781cb45034f90486f59c2e36c714366af3a5a4c16ec1f2e1d97300f6507a9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.49-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ef13c0401a9bae42b1b50b806d15f33c81269b325aadae2afc258dd78651d66b
MD5 bc4e3abb85bd13164691772f6023cba8
BLAKE2b-256 db5eaa085235c73dc9abd4d851b71dabb842c1047784a8ee2f1598de9f77c4a4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.49-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 113317c64df844d685fef79feff01da2ea0a1ce4cb1963eb8cc1519865a2ae98
MD5 9ceeca0aa6768fe5678059711fc3f41d
BLAKE2b-256 f9c3b2640f5dd73fefc5d049a316470089868cc207053bb0844c33d569d5ff73

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.49-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 66d15cb7bc60881bda87d6ea1c5c91db914c00312a78294d62f7fb2a4eca744a
MD5 f3d469fd2eebe25069677793f4f8485a
BLAKE2b-256 f077934c680dcb674d0eda204cc892a894b9e223c15d7fda48b79f220cdbcc11

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