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

Uploaded Source

Built Distributions

dpsa4fl_bindings-0.1.63-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.63-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.63-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.63-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.63.tar.gz.

File metadata

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

File hashes

Hashes for dpsa4fl_bindings-0.1.63.tar.gz
Algorithm Hash digest
SHA256 a2d19b15bca51329a6e729d524e00f567d6f71c4be641f32c0f9fd40ddfcae0e
MD5 4fc4cc3e0629de5f446b268ac2cadf3e
BLAKE2b-256 0a276e2b4e880760cdc95268686c355006403444dec8d98c832c17d375618423

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.63-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bb6d9435d87c82d143f5ccef21e63f18765461b0ac26a7c432b262172bd73e60
MD5 97a9bcbc22de115e7ae5539a8182a920
BLAKE2b-256 8c6b0fed1d607bf625411f2a035d323dc1126573338562f3e8444e2ef1a0a48b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.63-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f6f864a5eeaf00f4a4799c380c377a3ecb70710b5003ca7eadecbc53fff39503
MD5 b7a64f07bce02fbdbcf221ab012c4bd2
BLAKE2b-256 0ddb4600946f6c99e7e1ddb9a4926721c65239d94a5f37c785eea9d5b9dea92a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.63-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 340fe28143dba2fb5ee89ea74ff88d2bdd274dd11eacf5bedf792553c6e0da89
MD5 e04c8c0ff5c7244f053fc4347996d7be
BLAKE2b-256 0ef445646667d581993056d74ada5420ce2cd2f91e61d73b18e4d04bfeb54697

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dpsa4fl_bindings-0.1.63-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5c3389705e2fb66216f0f81c319b9e475cc873a58fb3a87927eee98e260786dd
MD5 e2221bb901101e1f5a71d50f62535640
BLAKE2b-256 4c90a696011a72d1bb33359d40e695086b062b362ef8fdd753083e33ea3517b9

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