Skip to main content

Common code used by services that make up the MeerKAT Science Data Processor, such as a common logging setup

Project description

Common code for MeerKAT Science Data Processor services

This contains common code used by services that make up the Science Data Processor subsystem of the MeerKAT radio telescope. It includes

  • A common logging setup, which examines environment variables to configure some logging options and specify a server to receive logs in Graylog format.
  • An extension to argparse to receive command-line options via katsdptelstate.
  • Signal handlers to restart the process and adjust log levels.
  • Utilities to simplify integration with aiomonitor.
  • A simple wrapper around netifaces to get the IP address of a network interface.

Changelog

1.2

  • Resolve logging destination at startup (#33)

1.1

  • Add telstate_endpoint attribute to argparse result (#29)
  • Add a custom log field with timestamp in microsecond precision (#21)
  • Add pre-commit hooks

1.0

First public release.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

katsdpservices-1.2.tar.gz (16.1 kB view details)

Uploaded Source

Built Distribution

katsdpservices-1.2-py3-none-any.whl (22.0 kB view details)

Uploaded Python 3

File details

Details for the file katsdpservices-1.2.tar.gz.

File metadata

  • Download URL: katsdpservices-1.2.tar.gz
  • Upload date:
  • Size: 16.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/26.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.3 tqdm/4.48.2 importlib-metadata/4.6.1 keyring/21.3.0 rfc3986/1.4.0 colorama/0.4.3 CPython/3.8.10

File hashes

Hashes for katsdpservices-1.2.tar.gz
Algorithm Hash digest
SHA256 2b218020073595565e0ad9abe2f60f5e2746f5e39649397b6c633f6532f2b1d0
MD5 e5c3bef041cf7af8188cdd0f51f73b71
BLAKE2b-256 797e0cafc3902f947f2f7adf899a1e5fefe3c31d6d37d4bcbeab50cae4a3d2b4

See more details on using hashes here.

File details

Details for the file katsdpservices-1.2-py3-none-any.whl.

File metadata

  • Download URL: katsdpservices-1.2-py3-none-any.whl
  • Upload date:
  • Size: 22.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/26.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.3 tqdm/4.48.2 importlib-metadata/4.6.1 keyring/21.3.0 rfc3986/1.4.0 colorama/0.4.3 CPython/3.8.10

File hashes

Hashes for katsdpservices-1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 087d0325009a44895a5818c7badd23254343f9c15e0462843515158bf9981163
MD5 62ef2d4f64a74d823864f913225e99c8
BLAKE2b-256 d841a2fbf5198fb2fb3db05659e233c144be9e9a88082830a4291ab3f6f735ba

See more details on using hashes here.

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