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-1.0.0rc2.tar.gz (24.4 kB view details)

Uploaded Source

Built Distribution

substratools-1.0.0rc2-py3-none-any.whl (18.9 kB view details)

Uploaded Python 3

File details

Details for the file substratools-1.0.0rc2.tar.gz.

File metadata

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

File hashes

Hashes for substratools-1.0.0rc2.tar.gz
Algorithm Hash digest
SHA256 b28c215f407b008f51cf7d406a87604d98ff69336b2e05b5d479dacbc449f21b
MD5 eb01162b4589862a9ea8f3ce550004b3
BLAKE2b-256 8a090f8e075e3d4bb99c93c5c3a92c4c2bd28eeb93a8772a4aae4ed3716247c7

See more details on using hashes here.

Provenance

File details

Details for the file substratools-1.0.0rc2-py3-none-any.whl.

File metadata

File hashes

Hashes for substratools-1.0.0rc2-py3-none-any.whl
Algorithm Hash digest
SHA256 b2dca14ce2ca02cc8551ebddf43e19adf7cf099bd780add71b45248f15dc245e
MD5 58dd7b6c4384598eb5e67c3cd193cee4
BLAKE2b-256 8317d0345d3c4bafc312ffb8c52ce6805bc1ff678e3d4fa0efe89f242e075cb1

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