Coder Social home page Coder Social logo

celinejacques / substra Goto Github PK

View Code? Open in Web Editor NEW

This project forked from substra/substra

0.0 1.0 0.0 4.47 MB

Substra is a framework for traceable ML orchestration on decentralized sensitive data.

Home Page: https://doc.substra.ai/index.html

License: Apache License 2.0

Python 99.85% Makefile 0.15%

substra's Introduction

substra

CLI and SDK for interacting with Substra platform.

Documentation website

Table of contents

Install

To install the command line interface and the python sdk, run the following command:

pip install substra

To enable Bash completion, you need to put into your .bashrc:

eval "$(_SUBSTRA_COMPLETE=source substra)"

For zsh users add this to your .zshrc:

eval "$(_SUBSTRA_COMPLETE=source_zsh substra)"

From this point onwards, substra command line interface will have autocompletion enabled.

Running the Substra platform locally

Check out the setup guide.

Usage

Credentials are required for using this tool.

CLI

substra --help

SDK

import substra

client = substra.Client()
# enjoy...

Documentation

Interacting with the Substra platform:

Implementing your assets in python (thanks to the substratools library)

Examples

Compatibility table

These sets of versions have been tested for compatilibility:

substra substra-chaincode substra-backend substra-tests hlf-k8s substra-frontend substra-tools
0.4.0-alpha.3 0.0.8-alpha.6 0.0.12-alpha.13 0.2.0-alpha.1 0.0.11-alpha.1 0.0.16
0.4.0-alpha.4 0.0.8-alpha.9 0.0.12-alpha.20 0.2.0-alpha.2 0.0.11-alpha.1 0.0.16
0.4.0 0.0.8 0.0.12 0.2.0 0.0.11 0.0.16
0.5.0 0.0.8 0.0.14 0.3.0 0.0.12 0.0.16 0.5.0
0.6.0 0.0.10 0.0.19 0.4.0 0.0.12 0.0.17 0.5.0
0.7.0 0.0.11 0.1.2
helm chart 1.4.0
0.5.0 0.0.13
helm chart 3.0.1
0.0.19
helm chart 1.0.0-alpha.2
0.6.1
0.7.1 0.0.11 0.1.3
helm chart 1.5.1
0.5.0 0.0.13
helm chart 3.0.1
0.0.19
helm chart 1.0.0-alpha.2
0.6.1
0.8.0 0.2.0 0.1.6
helm chart 1.6.0
0.6.0 0.0.16
helm chart 5.1.0
0.0.20
helm chart 1.0.0-alpha.2
0.7.0

Adding entries to the compatibility table

$ cd substra-tests
$ make test

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

Documentation

To generate the command line interface documentation, sdk and schemas documentation, the python version must be 3.7. Run the following command:

make doc

Documentation will be available in the references/ directory.

Deploy

Deployment to pypi.org should be automatic thanks to Travis but if you need to do it manually, here is what you need to do:

rm -rf dist/*
python3 setup.py sdist bdist_wheel
twine upload dist/* --verbose

substra's People

Contributors

samlesu avatar jmorel avatar guillaumecisco avatar kelvin-m avatar inalgnu avatar maeldebon avatar esadruhn avatar aureliengasser avatar clementgautier avatar camillemarinisonos avatar natct10 avatar alexandrepicosson avatar thibaultrobert avatar clairephi avatar cupcicm avatar substra-deploy avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.