Job execution utilities
Project description
Informatics Matters Data Manager Job Utilities
A package that simplifies the generation of events and cost lines written to the Job stdout stream.
The following utilities are supported: -
DmLog.emit_event()
DmLog.emit_cost()
Installation (Python)
The Job decoder is published on PyPI and can be installed from there:
pip install im-data-manager-job-utilities
Once installed you can use the utilitites using the supplied classes:
>>> from dm_job_utilities.dm_log import DmLog >>> DmLog.emit_event('Hello World!') 2022-02-03T16:39:27+00:00 # INFO -EVENT- Hello World! >>> DmLog.emit_cost(5.7) 2022-02-03T16:40:16+00:00 # INFO -COST- 5.7 1
Get in touch
Report bugs, suggest features or view the source code on GitHub.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for im_data_manager_job_utilities-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8da4b9ff9dc667bf26ed00656aa1b7ac5f960dfc5ad9b1f802f45e85a83d7954 |
|
MD5 | 1705fd4c3f8fb91d67db354b32394344 |
|
BLAKE2b-256 | 0b3df04fae44105d2b82e986990e73182a54952e83909beab9e195b69b769e30 |