Skip to main content

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

Metadata

Release files for dpsa4fl-bindings 0.1.69

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dpsa4fl-bindings 0.1.69
File Size Uploaded Provenance Actions
dpsa4fl_bindings-0.1.69.tar.gz 36.1 kB Without provenance Details for dpsa4fl_bindings-0.1.69.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for dpsa4fl-bindings 0.1.69
File Actions
dpsa4fl_bindings-0.1.69-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details for dpsa4fl_bindings-0.1.69-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
dpsa4fl_bindings-0.1.69-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.17+ x86-64 Details for dpsa4fl_bindings-0.1.69-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
dpsa4fl_bindings-0.1.69-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.17+ x86-64 Details for dpsa4fl_bindings-0.1.69-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
dpsa4fl_bindings-0.1.69-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ x86-64 Details for dpsa4fl_bindings-0.1.69-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Total release size: 10.5 MB

Release files / dpsa4fl_bindings-0.1.69.tar.gz

Download URL dpsa4fl_bindings-0.1.69.tar.gz
Size 36.1 kB
Tags Source
SHA-256 checksum
How to use checksums
328c03efcc2513d58effef8b0f1ce5823a289236b6913d3c6db03a05d9a967e3
BLAKE2b-256 checksum
How to use checksums
2f183c013b2578ae7db109235e9b7bd0587805b2f202567e8c89657ffb87d739
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.3.0

Release files / dpsa4fl_bindings-0.1.69-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL dpsa4fl_bindings-0.1.69-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 2.6 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
756becfb4140ab1350a655c10a43aa44117bb05f294fd96b18d0ef89b27ceffc
BLAKE2b-256 checksum
How to use checksums
f3bc381c8ff1448ea2c930ce91d9d46c5a971ea6a05e99c70cc76de0fc709600
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.3.0

Release files / dpsa4fl_bindings-0.1.69-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL dpsa4fl_bindings-0.1.69-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 2.6 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
a452510d9c0d89fe0d190b31e6bd2434180690039debee2382cc38bd35a5292e
BLAKE2b-256 checksum
How to use checksums
6b48c09d80d96b3c2ba1d73bbd389324e255738f0569901f361ba1708fb613a6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.3.0

Release files / dpsa4fl_bindings-0.1.69-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL dpsa4fl_bindings-0.1.69-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 2.6 MB
Tags CPython 3.8 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
cdda1b1bcab5eccd405279180672696652c7d09cf666afddf19c9cd5b1a936f9
BLAKE2b-256 checksum
How to use checksums
ded08078150691396feb15385a2184a48870515fe56d10cd8c920cf96a9d4f0b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.3.0

Release files / dpsa4fl_bindings-0.1.69-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL dpsa4fl_bindings-0.1.69-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 2.6 MB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
f5b33980b63d65d3ca404ab413d02fef67b01a6cf70830ab2fafe6d52889ba12
BLAKE2b-256 checksum
How to use checksums
2526c31ac19500d92ce8a6be110bedaa0c97dc170144c139ed02b7b7d442f4d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.3.0

Security for dpsa4fl-bindings 0.1.69

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.69 This release

5 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page