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.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.1.tar.gz (16.0 kB view details)

Uploaded Source

Built Distribution

katsdpservices-1.1-py3-none-any.whl (21.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: katsdpservices-1.1.tar.gz
  • Upload date:
  • Size: 16.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.25.1 setuptools/56.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for katsdpservices-1.1.tar.gz
Algorithm Hash digest
SHA256 7dc9610e823d153b133c5e836852ee187a93bc10714b72032cd0c1b097758b0e
MD5 99a3808ab66fae5aa5ebf0efdd93cac0
BLAKE2b-256 a04bed06a6754c217ea333392a40d7f216f3318719a5ed8ef24399673ba65d32

See more details on using hashes here.

File details

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

File metadata

  • Download URL: katsdpservices-1.1-py3-none-any.whl
  • Upload date:
  • Size: 21.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.25.1 setuptools/56.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for katsdpservices-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 dc7cac41aa57b2d3fd26897cbf40ed9388e4e249d31b801c05aa115e51af8fe1
MD5 5b3e48759bfe11fe1760975d3fda07fd
BLAKE2b-256 c94cabe9fe435a4387d7abfbabb75f712274b92c1bb61eca4fc1997bd8916ce1

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