Skip to main content

Python interface for managing alarms

Project description

CI Status

SLAC Alarm Manger

A user interface for monitoring and managing alarms written in Python. It is a frontend display for NALMS and requires a running NALMS deployment to interact with. Specifically it will consume messages from the kafka queue in order to put together the alarm tree hierarchy, and then continue to read updates to alarm severity in order to display them in the tree and table views.

In addition to displaying data, this interface will allow users to take actions on alarms such as acknowledgments and enabling/disabling specific alarms. These actions will be written into the kafka queue so that if multiple users have multiple copies of this application running, each user will receive any commands run by each other user.

Requirements

  • Python 3.6+
  • pydm
  • kafka-python
  • qtpy
  • A Qt Python wrapper

Most requirements are listed in the requirements.txt file, but the qt wrapper is not allowing flexibility in the choice.

Installation

This package can be installed from PyPI using the command pip install slac-alarm-manager.

Alternatively, it may also be installed from source by cloning the code from the repository, and running pip install . from the top level slam directory. pip install -e . may also be used for to allow for easier development on the project.

Running Tests

In order to run all of the tests included with this project, a few additional test-only requirements must be installed as included in dev-requirements.txt. This test suite will also be run as part of every pull request, and whenever a new commit is made to main.

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

slac-alarm-manager-1.0.0.tar.gz (20.1 kB view details)

Uploaded Source

Built Distribution

slac_alarm_manager-1.0.0-py3-none-any.whl (28.4 kB view details)

Uploaded Python 3

File details

Details for the file slac-alarm-manager-1.0.0.tar.gz.

File metadata

  • Download URL: slac-alarm-manager-1.0.0.tar.gz
  • Upload date:
  • Size: 20.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.2

File hashes

Hashes for slac-alarm-manager-1.0.0.tar.gz
Algorithm Hash digest
SHA256 54652f07056a6b753a79cb89f8de7a4abf7bc4828ce54fd58ff34d8124978a63
MD5 8a9e49b48565e845a2b3e9ad3b3d5a81
BLAKE2b-256 386f9552820a537c9635493b4b8af412bd4d3ad81e89f458beec25bf07de3fc4

See more details on using hashes here.

File details

Details for the file slac_alarm_manager-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for slac_alarm_manager-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f0874e5ff09f19dcf19d49af4c65e1dac812a0d505de705617e072c1773992dd
MD5 adab2892dc72ef5c89005c7fac6f4e0f
BLAKE2b-256 1a11ea7c994a4dece8185520f5e4fa8654e17c47a75527aac86da6f86d1d5218

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