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.3

  • Packaging modernisation (#34)
  • Drop some old Python 2 workarounds (#34)
  • Switch testing to pytest (#34)
  • Fix flake8 for pre-commit
  • Add --aiomonitor-webui-port command-line option (#35)

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

Uploaded Source

Built Distribution

katsdpservices-1.3-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: katsdpservices-1.3.tar.gz
  • Upload date:
  • Size: 16.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for katsdpservices-1.3.tar.gz
Algorithm Hash digest
SHA256 86b361eba9a21d15e8bd044aa259a5ca340070ec4bc9b53055f8cb3180cab8f5
MD5 88b21bf0a04db300877819187851b9f8
BLAKE2b-256 71d689abefe33a21b7fdba8c1bf6fa57f1c8cc373df4e8b1666872cdae97bb24

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: katsdpservices-1.3-py3-none-any.whl
  • Upload date:
  • Size: 14.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for katsdpservices-1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1b50d1b9e43ff172136b5509b22a0c7daa80192c9afdba62fa45a71d8369dcf6
MD5 b34dbe1245f38a3f37594de0651e3cfc
BLAKE2b-256 8000202a6a59d486f576f3b635cad162b280ba30a2d7ec720029ba9e57f2a8dd

See more details on using hashes here.

Provenance

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