Skip to main content

Define a personnal app for the user of DeepChain.bio

Project description

PyPI License Python 3.7 Code style: black Dependencies

Table of contents

deepchain-apps : Create personnal app locally, deploy on deepchain.bio

This Package provide a cli for creating a personnal app to deploy on the DeepChain platform. To leverage the apps capability, take a look at the bio-transformers and bio-datasets package.

Installation

You can install the package directly from Pypi:

pip install deepchain-apps

Getting started with App

An application is a python folder that will be use on deepchain.bio platform to evaluate of protein. The final app must have the following architecture:

App structure

  • my_application
    • src/
      • app.py
      • DESCRIPTION.md
      • tags.json
      • Optionnal : requirements.txt (for extra packages)
    • checkpoint/
      • Optionnal : model.[h5/pt]

The main app class must be named ’App’

Tags

In order your app to be visible and well documented, tags should be filled to precised at least the tasks section.

  • tasks
  • librairies
  • embeddings
  • datasets

CLI

The CLI provides 4 main commands:

  • login : you need to supply the token provide on the plateform (PAT: personnal access token).

    deepchain login
    
  • create : create a folder with a template app file

    deepchain create my_application
    
  • deploy : the code and checkpoint are deployed on the plateform, you can select your app in the interface on the plateform.

    • with checkpoint upload

      deepchain deploy my_application --checkpoint
      
    • Only the code

      deepchain deploy my_application
      
  • apps :

    • Get info on all local/upload apps

      deepchain apps --infos
      
    • Remove all local apps (files & config):

      deepchain apps --reset
      
    • Remove a specific application (files & config):

      deepchain apps --delete my_application
      

The application will be deploy in DeepChain plateform.

Roadmap:

  • Synchronise apps with deepchain

Citations

License

This source code is licensed under the Apache 2 license found in the LICENSE file in the root directory.

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

deepchain-apps-0.1.2.tar.gz (18.3 kB view hashes)

Uploaded Source

Built Distribution

deepchain_apps-0.1.2-py3-none-any.whl (29.0 kB view hashes)

Uploaded Python 3

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