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-0.200.3.tar.gz
(13.0 kB
view hashes)
Built Distribution
Close
Hashes for utbot_executor-0.200.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bca040cae50b8b5eecc6dbdbc23d96806f2c2bf755f72981a2e381faf9b6aaef |
|
MD5 | aea26575043246ce94e538ba9e0dac78 |
|
BLAKE2b-256 | 73e82a9a39155dc1ca036465b3a54308f0eb10530b0f80b74b08d0f640d1d0cf |