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.

This repository also contains a Dockerfile to execute the user Python scripts on the Substra platform. This is currently needed to easily have substratools package available inside the Docker image without using a pypi server.

Getting started

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

pip install substratools

Pull the substra-tools Docker image

docker pull ghcr.io/substra/substra-tools:0.16.0-nvidiacuda11.8.0-base-ubuntu22.04-python3.11

Developers

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

Build the Docker image from source

docker build -f Dockerfile .

Setup

To setup the project in development mode, run:

pip install -e ".[test]"

To run all tests, use the following command:

python setup.py test

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

Uploaded Source

Built Distribution

substratools-0.21.2-py3-none-any.whl (27.9 kB view details)

Uploaded Python 3

File details

Details for the file substratools-0.21.2.tar.gz.

File metadata

  • Download URL: substratools-0.21.2.tar.gz
  • Upload date:
  • Size: 21.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.18

File hashes

Hashes for substratools-0.21.2.tar.gz
Algorithm Hash digest
SHA256 96fcd3cce7066afee83324b5c41c540bc717af87d72a03f39219cbbd374ef83c
MD5 821bbb08db09bd6b2f74959a6f9951a0
BLAKE2b-256 889d3c161279c664819eb84c8f3bbf654ecac26300f77ad929aa4dfebd71a487

See more details on using hashes here.

Provenance

File details

Details for the file substratools-0.21.2-py3-none-any.whl.

File metadata

File hashes

Hashes for substratools-0.21.2-py3-none-any.whl
Algorithm Hash digest
SHA256 733ebcd019787ba55a7802b346aecfd8cfd89db51fa5802a4f880150c0d630ce
MD5 7e102f88ac97fa2bb3f6c6d45746547a
BLAKE2b-256 c7508e6824a2b118b359b4089903ed4ad0038010533c08e373c6db706f3ec32c

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