一个可以被Dart dart_ops_engine执行的Python脚本引擎
Project description
一个可以被Dart dart_ops_engine执行的Python脚本引擎
具体用法
from typing import Any, Dict
from dart_ops_engine import DartOpsEngine
from action_run import ActionRun
from env import Env
class TestActionRun(ActionRun):
def run(self, env: Env, request: Dict[str, Any]) -> Dict[str, Any]:
return {}
if __name__ == '__main__':
engine = DartOpsEngine(description='Dart Ops Engine')
engine.addAction('test', TestActionRun())
engine.run()
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
dart_ops_engine-0.1.1.tar.gz
(3.7 kB
view details)
Built Distribution
File details
Details for the file dart_ops_engine-0.1.1.tar.gz
.
File metadata
- Download URL: dart_ops_engine-0.1.1.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d6cdb56ebfd2d80dfa3cced5090b750d840a6c5f4e4b16d03b10108913186a1 |
|
MD5 | cab2de3ca4049575ab898bfbdf012fb2 |
|
BLAKE2b-256 | 41280c6c2cfc72c8fe4ac3f90328d4b38c09b13c48218d739e3196386a54f5cf |
File details
Details for the file dart_ops_engine-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: dart_ops_engine-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4352bba8d61d9865c1fc97554d5601d9e31e160adddc774c90d4cb6398c777e9 |
|
MD5 | f4cb1f76704379b9fb6a67a0b83dd57e |
|
BLAKE2b-256 | 096dbf3c4939930c5b5232313e378bc3dd5f2773f60cecf03b30fbe2ca7d58d9 |