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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file deepchain-apps-0.1.2.tar.gz.

File metadata

  • Download URL: deepchain-apps-0.1.2.tar.gz
  • Upload date:
  • Size: 18.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.6.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5

File hashes

Hashes for deepchain-apps-0.1.2.tar.gz
Algorithm Hash digest
SHA256 9b49572ed6a3c89d76e090f43b414ac2a964cd825801eb5b0dfe8cf8eddcbcac
MD5 1b7eb4b8d18a856f453bd1f903d5455b
BLAKE2b-256 367e25376c7fcbf4f8edcc281824ae5cff2e5dac0a0e032a511dba06d293cc9d

See more details on using hashes here.

File details

Details for the file deepchain_apps-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: deepchain_apps-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 29.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.6.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5

File hashes

Hashes for deepchain_apps-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f71644f652040c3603dd122dab590e1f5ec9500bd23344eec1688e42e078d18e
MD5 9b634f8400d37120e4557d05b83b3929
BLAKE2b-256 beee01d3652db10f9416ca67318aa2c12091246e7c8b534b1aeb1f0347700889

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page