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

Uploaded Source

Built Distributions

dpsa4fl_bindings-0.1.48-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.48-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.48-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.48-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.48.tar.gz.

File metadata

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

File hashes

Hashes for dpsa4fl_bindings-0.1.48.tar.gz
Algorithm Hash digest
SHA256 9caf2bb4676a9702ae1b07432d1698e4976ebb94c6362dbe772c03be17c6c542
MD5 e8a1fe42c4825b442f8a3d032539d8a6
BLAKE2b-256 27e9a7de1004649cb351eb742ce1ff66b069c34f43925e5d077db2e71aeb8574

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.48-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e3c1f97e5f6f462d44743f25a7243da721cb78564eb18714a99592b1902a5050
MD5 33aa0e78e694616d8608b06af3bb9c62
BLAKE2b-256 d39a85b3b55339eb4e31ba8fa68c539178c2e9f124859a7f7458b057614089fb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.48-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f9c1d6c4e2e04850fe5892148ae8f82b5dcaadd3029698baab38b59b7ca82502
MD5 5ecaaebdf5c88a719b85bb5b46e3d84c
BLAKE2b-256 6586ce22089bcf5855f1d1e2164253bb50c73d87a655a70f15259e98951e2345

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.48-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8c9d6bd292ec9f2deda79e28eeac0c99a856e3b253e775b7224ef144717ee7f6
MD5 76dcdaa7b54424f3418d1e32caf9b8ed
BLAKE2b-256 b06235440755733ccea598abe0a117ea84694f00cc93a7850ae55acb35afd401

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.48-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 249c916096be8768c2473573b0ef46062c5c867892ae094a612f01dba16f2e71
MD5 d306413b7a2f1094aa5394c4dc4b20e9
BLAKE2b-256 495630d328580e7f9601e2979a1363b50fe1b93fc26e79ea04392bf9a0b46585

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