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

Uploaded Source

Built Distributions

dpsa4fl_bindings-0.1.66-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

dpsa4fl_bindings-0.1.66-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

dpsa4fl_bindings-0.1.66-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

dpsa4fl_bindings-0.1.66-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.7 MB view details)

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

File details

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

File metadata

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

File hashes

Hashes for dpsa4fl_bindings-0.1.66.tar.gz
Algorithm Hash digest
SHA256 733d88e10a1f7e29dea8028fdd079ea0f6b24ecef5509135463aa4a053b7ec6b
MD5 0cb6918d6d62b4a887af8d6a57a24d96
BLAKE2b-256 228433e360ac128eebe0e3c43d72ece3547d38fd07b5d947079bcd385b90beea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.66-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d4112d869c22529c67a914012f4e0b3f9fb8177d87e00071343d58b8f4897824
MD5 7fdfdd842735aa335d4c50d36942df96
BLAKE2b-256 c578fc480adf1553e1f2f686b27120c264e2c9e81975e5b0fe6a9df0bb8e14e0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.66-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9120addf7a6e50db67f3290a6754e90b606042a521908f8ff5d1f5e6b193d178
MD5 ec45f6c184dca889773b20020f7027eb
BLAKE2b-256 cc6aa3e1f43089ab072502ab11cf528ef330e832537c271d2c71467b8a4e677f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.66-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2f4e6f28f93b44331cadfc282f3a2f8695fd467574c0327fa49e9f70329ace8d
MD5 7d895e453d5f62021d510e1ee28bc085
BLAKE2b-256 8cd903d319e53c1a30f71b0da8f6c21a01a7e9eb036159e0a5d596eb1caa0b84

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.66-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3804ee95d4f1ddd81119ed52396c5248e4bc29d34be2e28fb2173e80d225e423
MD5 2bc654225dfc592888def0009d5b2d45
BLAKE2b-256 a37bc3b92b7da395106cc6525c425dbcaf99dbca9bb1b308bec90429ea6ae3b8

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