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.26.tar.gz
(13.3 kB
view hashes)
Built Distributions
Close
Hashes for utbot_executor-1.4.26.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6a56175f425a0687b7d0e99a32bba00b097fcdce7608ebe8c0098ef2691d771 |
|
MD5 | 9247ad305dfc1c1abe74dadcd30fe254 |
|
BLAKE2b-256 | 5fc08c483871469d4a5ce0add83a4b032afb18055dd03e5338223d38161a3b8d |
Close
Hashes for utbot_executor-1.4.26-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62130ee0fb796114bdaa137327769140158a0b898918791dd673cce470fb63cc |
|
MD5 | e453bcafe7f905f5d1ce58b0a3c4bd0d |
|
BLAKE2b-256 | 7b056aba4f32a720333450c9df44451b54c76600dd1c69a5cfd2e0848b1287f0 |