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.3.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.3-py3-none-any.whl (29.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: deepchain-apps-0.1.3.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.7.0 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.10

File hashes

Hashes for deepchain-apps-0.1.3.tar.gz
Algorithm Hash digest
SHA256 2a27fe01f026aba9f1b6fd1bd6b36ed7e6f2a4d58cd10bf81a6b6090e7acb6b0
MD5 3739d680df2fade720d328b4c9a7ed5e
BLAKE2b-256 2f0b0ccdcacb4e37c54da8ff225a182c1b99f2c2812be75cc473e2123cdc84c1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: deepchain_apps-0.1.3-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.7.0 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.10

File hashes

Hashes for deepchain_apps-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 882c5ac800605147c42de0db9ae900d55de13848ff85e2945a0969f53b71c84d
MD5 d90855eea807943ae8a9a1f0a59410aa
BLAKE2b-256 b7749dd697c8e88eb82b23c8b1f52241bce1c489ca10dc49b141c37daacfd24c

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