Python tools to submit functions on the Substra platform
Project description
Substra-tools
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for substratools-0.21.1rc1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc37a5c76f00683da70f178c7106dbf7f5c2dca1ffe831b97237d8fa8ad542a0 |
|
MD5 | 68cb9831a7101c9f72b91f4807ce6b3f |
|
BLAKE2b-256 | 12458962b0222950dad9464a511a65ae45ecf28fc94e84a42347f93c203752f9 |