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

Uploaded Source

Built Distributions

dpsa4fl_bindings-0.1.56-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.56-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.56-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.56-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.56.tar.gz.

File metadata

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

File hashes

Hashes for dpsa4fl_bindings-0.1.56.tar.gz
Algorithm Hash digest
SHA256 b22b239836582e7cf4f1e2ee2165d0b6b59db47eb07415c99b660e2b8355c689
MD5 b4843c3299de7f71318395afbee2c5e6
BLAKE2b-256 c947d9f48e7c7c47f98b056d2219fcf29476dfa56a7f972a302dbe2c1b82a289

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.56-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 acd6ce9a7fc030104e7ab456f7bc6673e23fd12349482de9bb2791b44330eb11
MD5 213374c8830db9307f800b4e453c8a91
BLAKE2b-256 242274b7c4d7ff23564cac3d3a08b21cb5904a704110d9f10680dd47e103ebea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.56-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 908d1a131b3cb202532cc993b26605756d8d7b10201d87ece654b60b110a1ccd
MD5 e8bb99fe95dd28b5704e3b7e61128908
BLAKE2b-256 c367ddfb8c8c5aa22b7924c65f29542a60850eba031979f922bc541d287c1004

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.56-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d8bb9ce64531cded1dfba3d543889a06780a045ebb7522a4434eb47d050a00ca
MD5 433bdaedeb1be94936464d26b19c9153
BLAKE2b-256 425934c9ae088d004daf44b88ea7b149b7bdaa7c2aa1dfa265129d45bca445c9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.56-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fe5c442ab961883daf99294fb97fcfaee6860e0828db4d937954ddb304b2cd21
MD5 9353c6d043d735dfae74a77d9fcae782
BLAKE2b-256 026863795f8af27a3660900ea7f2f877bb3b6f625b78a90442fec6bb9ffd6ee6

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