Skip to main content

Python tools to submit functions on the Substra platform

Project description

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).

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

substratools-0.22.0rc1.tar.gz (24.3 kB view details)

Uploaded Source

Built Distribution

substratools-0.22.0rc1-py3-none-any.whl (18.8 kB view details)

Uploaded Python 3

File details

Details for the file substratools-0.22.0rc1.tar.gz.

File metadata

  • Download URL: substratools-0.22.0rc1.tar.gz
  • Upload date:
  • Size: 24.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.27.2

File hashes

Hashes for substratools-0.22.0rc1.tar.gz
Algorithm Hash digest
SHA256 4432d5a24fe262a5b165ffaccbd4b9d38fe34cddfe611c13c5404f0f92ff7aec
MD5 ef3996e681fec1841ab839a5b56f2c0c
BLAKE2b-256 1bc40ed35e587c6495f39961ebd487cb8debd613db3343a1bbc977ec52021dfe

See more details on using hashes here.

Provenance

File details

Details for the file substratools-0.22.0rc1-py3-none-any.whl.

File metadata

File hashes

Hashes for substratools-0.22.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 a49ce4d29228e5bc4860156e7f2927c6e95f943436c198a6dc067a3f5f7be18f
MD5 c33a5d995ca752a19e9323e3940c27d1
BLAKE2b-256 1b2752912d93d2801260fb453d58b558bfff9104bc32b5dfc48adafe982b31fc

See more details on using hashes here.

Provenance

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