Skip to main content

No project description provided

Project description

UtBot Executor

Util for python code execution and state serialization.

Installation

You can install module from PyPI:

python -m pip install utbot-executor

Usage

From console with socket listener

Run with your <hostname> and <port> for socket connection

$ python -m utbot_executor <hostname> <port> <logfile> [<loglevel DEBUG | INFO | ERROR>]

Result format:

{
        "status": "success",
        "isException": bool,
        "statements": list[int],
        "missedStatements": list[int],
        "stateBefore": memory json dump,
        "stateAfter": memory json dump,
        "argsIds": list[str],
        "kwargs": list[str],
        "resultId": str,
}

or error format:

{
        "status": "fail",
        "exception": str (traceback),
}

States format

TODO

Submodule deep_serialization

JSON serializer and deserializer for python objects

Source

GitHub repository

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

utbot_executor-1.4.29.tar.gz (14.2 kB view hashes)

Uploaded Source

Built Distribution

utbot_executor-1.4.29-py3-none-any.whl (19.0 kB view hashes)

Uploaded Python 3

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