Low-level Python library for interacting with a Substra network
Project description
Substra is an open source federated learning (FL) software. It enables the training and validation of machine learning models on distributed datasets. It provides a flexible Python interface and a web application to run federated learning training at scale. This specific repository is the low-level Python library used to interact with a Substra network.
Substra's main usage is in production environments. It has already been deployed and used by hospitals and biotech companies (see the MELLODDY project for instance). Substra can also be used on a single machine to perform FL simulations and debug code.
Substra was originally developed by Owkin and is now hosted by the Linux Foundation for AI and Data. Today Owkin is the main contributor to Substra.
Join the discussion on Slack and subscribe here to our newsletter.
To start using Substra
Have a look at our documentation.
Try out our MNIST example.
Support
If you need support, please either raise an issue on Github or ask on Slack.
Contributing
Substra warmly welcomes any contribution. Feel free to fork the repo and create a pull request.
Setup
To setup the project in development mode, run:
pip install -e ".[dev]"
To run all tests, use the following command:
make test
Some of the tests require Docker running on your machine before running them.
Code formatting
You can opt into auto-formatting of code on pre-commit using Black.
This relies on hooks managed by pre-commit, which you can set up as follows.
Install pre-commit, then run:
pre-commit install
Documentation generation
To generate the command line interface documentation, sdk and schemas documentation, the python
version
must be 3.8. Run the following command:
make doc
Documentation will be available in the references/ directory.
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
File details
Details for the file substra-0.44.0rc1.tar.gz
.
File metadata
- Download URL: substra-0.44.0rc1.tar.gz
- Upload date:
- Size: 76.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3918c58700a55403faa7d59058d64d1495572e7a67115cf649f6b0bc65a3d336 |
|
MD5 | 3f5d444ed4faf16684b6c601c9bbca9d |
|
BLAKE2b-256 | d5421495f650306ac4ec89164f7ec338f855b6dd17d717e90e3699f38eb58c6b |
File details
Details for the file substra-0.44.0rc1-py3-none-any.whl
.
File metadata
- Download URL: substra-0.44.0rc1-py3-none-any.whl
- Upload date:
- Size: 64.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ce5ba9a18611e781ea3a7c5666be2ffae32eb3b2b51d98c527b22bcb4415ff4 |
|
MD5 | dc9ab2d3b70076aa00793a0d7415de94 |
|
BLAKE2b-256 | 8148b5dd6db376c324f1b950a8793ff391e6ffb0d570e81c593cda796985696e |