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.1.tar.gz (18.1 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.1-py3-none-any.whl (28.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: deepchain-apps-0.1.1.tar.gz
  • Upload date:
  • Size: 18.1 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.1.tar.gz
Algorithm Hash digest
SHA256 130b8985cf5aae51b8b83bdee614ca90ba5da7a1c476a5558e2e4bfa4d36aaa6
MD5 ee0e03a2f1a5b10db1353d36e920b6b2
BLAKE2b-256 1505f0a4f1ba223015bbe7d20b4df201c6fe3ff05df2e79238271a80740b0b89

See more details on using hashes here.

File details

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

File metadata

  • Download URL: deepchain_apps-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 28.8 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b425380687597f50b6300970dd3090152540d8e4e0c72c048b37fb17975ced46
MD5 6345a6930c84e98e7a975e5b7f9cd001
BLAKE2b-256 1ae92b58063c76d2618a91d27b1746e47dce3fa71a9a59978c0a79f34d8eb1a3

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