Define a personnal app for the user of DeepChain.bio
Project description
Table of contents
- Description
- Installation
- Getting started with App
- CLI
- login
- create
- deploy
- apps
- Roadmap
- Citations
- License
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]
- src/
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for deepchain_apps-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b425380687597f50b6300970dd3090152540d8e4e0c72c048b37fb17975ced46 |
|
MD5 | 6345a6930c84e98e7a975e5b7f9cd001 |
|
BLAKE2b-256 | 1ae92b58063c76d2618a91d27b1746e47dce3fa71a9a59978c0a79f34d8eb1a3 |