Skip to main content

Job execution utilities

Project description

Informatics Matters Data Manager Job Utilities

PyPI package (latest)

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

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page