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.2.0.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: dart_ops_engine-0.2.0.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.2.0.tar.gz
Algorithm Hash digest
SHA256 3474f1a5d186bc3a6c6f7eb9882857ad8ed6de7ae16fd0a33ad8bec0bcc329fc
MD5 58f2e8223f04392381b614580a413f36
BLAKE2b-256 4a8b65257702f22d12472984f40a44aa25f681dccb2fd799aa183ba094d32473

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dart_ops_engine-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a43dd1f49490483232c2d877f378e23a04beba176cf2ee9a3aedf92ecec8525a
MD5 d5376f2d5554c60045edf38a8fb1e038
BLAKE2b-256 1e15d9ea6efa33217c0776450e14a4c8e6d95c272d9d624b8c181b924fef7d58

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