Skip to main content

Substra-tools



Substra


Substra is an open source federated learning (FL) software. This specific repository, substra-tools, is a Python package defining base classes for Dataset (data opener script) and wrappers to execute functions submitted on the platform.

Getting started

To install the substratools Python package, run the following command:

pip install substratools

Developers

Clone the repository: https://github.com/Substra/substra-tools

Setup

To setup the project in development mode, run:

pip install -e ".[dev]"

To run all tests, use the following command:

make test

How to generate the changelog

The changelog is managed with towncrier. To add a new entry in the changelog, add a file in the changes folder. The file name should have the following structure: <unique_id>.<change_type>. The unique_id is a unique identifier, we currently use the PR number. The change_type can be of the following types: added, changed, removed, fixed.

To generate the changelog (for example during a release), use the following command (you must have the dev dependencies installed):

towncrier build --version=<x.y.z>

You can use the --draft option to see what would be generated without actually writing to the changelog (and without removing the fragments).

Metadata

Release files for substratools 1.0.0

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

Source distribution (sdist)

Source distribution for substratools 1.0.0
File Size Uploaded
substratools-1.0.0.tar.gz 24.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for substratools 1.0.0
File Interpreter ABI Platform
substratools-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 43.3 kB

Release files / substratools-1.0.0.tar.gz

Download URL substratools-1.0.0.tar.gz
Size 24.4 kB
Tags Source
SHA-256 checksum
How to use checksums
dff35e37682ad91fa54000b606c13cf4af5ff7e1cc213faebb2b5b800d97df96
BLAKE2b-256 checksum
How to use checksums
6e484a2e7bceeb78d51049d39ab0694066f64f47e64058663dbe37dadf6e6614
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.27.2

Release files / substratools-1.0.0-py3-none-any.whl

Download URL substratools-1.0.0-py3-none-any.whl
Size 18.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f3279a2c9b97546f080665f912937e16c5f899c1dad32c0b7e7f7a610de336b6
BLAKE2b-256 checksum
How to use checksums
3e284e01d6847dcf1ac46a8a4be0ae2535616d65f929e37247a04ee73c499d71
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.27.2
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