Python tools to submit algo on the Substra platform
Project description
Substra-tools
Python package defining base classes for assets submitted on the platform:
- Objective: metrics script
- Algo: algo script
- Dataset: data opener script
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 .
Documentation
Build substra-tools image
This is required to launch the substra framework for development. The image is currently based on Python 3.6.
Pull from public docker registry
docker pull ghcr.io/substra/substra-tools
Build from source
docker build -t ghcr.io/substra/substra-tools .
Contributing
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
substratools-0.17.0.tar.gz
(22.3 kB
view hashes)
Built Distribution
Close
Hashes for substratools-0.17.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ade9e4027b24207c5c9a85a835d83ccfcf696a9fe43e1e81aec01e75c8d5970 |
|
MD5 | 7abf2cae8c61e3958aa92b2851641744 |
|
BLAKE2b-256 | fb22ff1a608384e7d5a7460f2d048d49f5c2a1a1d1fb95e472c4e3c6427d6272 |