Skip to main content

一个可以被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.2.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

dart_ops_engine-0.1.2-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file dart_ops_engine-0.1.2.tar.gz.

File metadata

  • Download URL: dart_ops_engine-0.1.2.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.9.19

File hashes

Hashes for dart_ops_engine-0.1.2.tar.gz
Algorithm Hash digest
SHA256 6e79813492381de9cecb70c67ea76f1b340873553cf4531ec6fd6cc6a5bef384
MD5 8a6ef3ff5d1becf85783039b4d140d2b
BLAKE2b-256 5c77e5b255ab7002bdbb20ee2242b9d9bdd4500b7c8270615f5d9989ccee9805

See more details on using hashes here.

File details

Details for the file dart_ops_engine-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for dart_ops_engine-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d3fbd133852b4023244e14bd59275417493c4619bdb9d5cc8f15811a1967fe50
MD5 32bba4606b4413bc82de3b3b1c616925
BLAKE2b-256 7e058ad0f87cd2908963368385376896d24b3a246e9dca5a82b9f3387571fbef

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page