Motivus client library
Project description
Motivus Client Library
Basic task execution example
Set your application token as an environment value as follows:
APPLICATION_TOKEN=MWBatxipDHG4daX3hemGO4nXZEgAvOTbBPyWDj36AsWqbOJc=
Execute some tasks
from motivus.client import Client
conn = await Client.connect()
task_def = {"run_type": "wasm",
"wasm_path": "./function.wasm",
"loader_path": "./loader.js",
"processing_base_time": 30,
"flops": 45.0,
"flop": 1.0,
"arguments": [1, 3]
}
task_id = conn.call_async(task_def)
task = conn.select_task(task_id)
result = await task
Getting help
You can contact us anytime using our contact form.
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
motivus-1.0.1.tar.gz
(4.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file motivus-1.0.1.tar.gz.
File metadata
- Download URL: motivus-1.0.1.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fb5ac58309159a6c63d6aa8bdabe1d5a9460965387ac1c85fec2a4200a54462c
|
|
| MD5 |
f26cb5f9a495cccae70e4ef1f5018cb4
|
|
| BLAKE2b-256 |
33df66721971de0ffbf5e64b616b16078fa17b54f7e992f804d2b79fac635f45
|
File details
Details for the file motivus-1.0.1-py3-none-any.whl.
File metadata
- Download URL: motivus-1.0.1-py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1963052aeaf9333d1f00c28ce645bc449918e52ec902e4ce8ae429c3d5130042
|
|
| MD5 |
be04fc1e9c8b1828c8b2f867d0c6eba9
|
|
| BLAKE2b-256 |
c8ef361fb6790e6b8aaa6bfd014895414add09cf9144c9a3d78aeb42f084a977
|