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
argparseto 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.4
- Remove use of deprecated
datetime.utcfromtimestampmethod (#38) - Fix unit tests on Python 3.12 (#38)
- Run tests against requirements from katsdpdockerbase (#37)
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-portcommand-line option (#35)
1.2
- Resolve logging destination at startup (#33)
1.1
- Add
telstate_endpointattribute 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.4.tar.gz
(16.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file katsdpservices-1.4.tar.gz.
File metadata
- Download URL: katsdpservices-1.4.tar.gz
- Upload date:
- Size: 16.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5d6bc3c2739986aa6bb3ee03d87067a6085ecef0a59152fcba17b6b3193d09d6
|
|
| MD5 |
654c3b74e1bd426a6fd0ff73bf9f85fd
|
|
| BLAKE2b-256 |
1e8b09b254e3136aa3ee31c072b1d4fdf55721b0e683ce7fe85cd3e810e5fc09
|
File details
Details for the file katsdpservices-1.4-py3-none-any.whl.
File metadata
- Download URL: katsdpservices-1.4-py3-none-any.whl
- Upload date:
- Size: 14.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
af073b71a7c9a05fecfa376f4ea72ea6c12c5780b3c70d30b9598d7c075e0eb1
|
|
| MD5 |
f52eb6c9635e1270f94ca099ac01f3de
|
|
| BLAKE2b-256 |
ef1d47c37d621a11e743969f6e0fd5de72a7a93ff4f077619d871c92ca410b46
|