No project description provided
Project description
UtBot Executor
Util for python code execution and state serialization.
Installation
You can install module from https://pypi.org/project/utbot-executor/:
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>
From code
Main method is executor.run_calculate_function_value
.
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,
}
States format: see deep_serialization
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.2.5.tar.gz
(7.9 kB
view hashes)
Built Distribution
Close
Hashes for utbot_executor-0.2.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc86de74847e00ec425218d8376a8b399f6e1992c13fe1bbe9c904e5c7db54f2 |
|
MD5 | 9949cd4e3f4969c8a6336c2083320fa1 |
|
BLAKE2b-256 | 1fbe882df814c433f69f842f1f2c6b647db6c294070a0d5c2d597a0348980274 |