Caldron AI platform
version 0.1.8
How to run hello world demo
1. pip install dg-ai-platform.
2. Login to Caldron AI platform website.
3. You will see a demo app with PID and public key.
4. Paste below code to a blank python file and change #pid# to your demo PID.
5. run this python file.
from dg_ai_platform.example import ExampleTask
from dg_ai_platform.dg_platform import CaldronAI
ca = CaldronAI(#pid#, #public_key#, ExampleTask)
ca.run()
6. Create your task in demo task page.
7. You will see a result on result page.
Run your own App
1. Create a app then setup inputs and outputs on website.
2. Create yourself class must be implementing ITaskProcess(see below code).
from dg_ai_platform.dg_platform import ITaskProcess
class CustomTask(ITaskProcess):
def __init__(self):
super().__init__()
def inference(self, input_list, output_list, options=None):
#your logic
3.You should be let your logic into function inference(self, input_list, output_list, options=None)
- param input_list: all inputs local path in this array. You should be load your all inputs then put it to your model.
- param output_list: all outputs local path in this array. You should be save your outputs to these outputs path.
- param options: This is a json data.
4. Run your app with CustomTask
from your_python_file import CustomTask
from dg_ai_platform.dg_platform import CaldronAI
ca = CaldronAI(#pid#, #public_key#, CustomTask)
ca.run()
5. Create your custom task on website.
6. You will see a result on result page.
Metadata
Release files for dg-ai-platform 0.1.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dg_ai_platform-0.1.12.tar.gz | 3.9 kB | Without provenance | Details for dg_ai_platform-0.1.12.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dg_ai_platform-0.1.12-py3-none-any.whl | Python 3 | none | any | Details for dg_ai_platform-0.1.12-py3-none-any.whl |
Total release size: 9.8 kB
Release files / dg_ai_platform-0.1.12.tar.gz
| Download URL | dg_ai_platform-0.1.12.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
14e4b549dfe242d21156fbcd7d5f5270eb7e093669d98822a39f2cadc3da07bc
|
|
BLAKE2b-256 checksum How to use checksums |
342ade81dad956fc52b4d3a2fbd039e7006713af2f707a5ff7ba1f9204aa52fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.7
|
Release files / dg_ai_platform-0.1.12-py3-none-any.whl
| Download URL | dg_ai_platform-0.1.12-py3-none-any.whl |
|---|---|
| Size | 5.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
12551fe7b1bde029f617325c6b5b80acde44c04034e4df428ab6f19839be9f8b
|
|
BLAKE2b-256 checksum How to use checksums |
1cf0ec6698b1b6c16568256570a811de096707f5dec6d0f33f74ed2ab74a84e5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.7
|
Security for dg-ai-platform 0.1.12
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.