releso.util.reward_helpers
SPOR object script helper functions.
This files holds functions which can be used in custom command line spor object scripts. Tried to keep this as package independent as possible, to make it easier to copy these functions into your own scripts. If you need to have other python versions/special environment to run your scripts in. The pydantic dependency can be exchanged for a string.
Functions
|
Loads data from a given file as a json object. |
Converts the given string (should hold a json string) into a dictionary. |
|
|
Parses the spor com arguments. |
|
Write the obj_dict to the given file (json encoded). |