Python interface for managing alarms
Project description
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.
User Documentation
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
Built Distribution
File details
Details for the file slac-alarm-manager-1.3.0.tar.gz
.
File metadata
- Download URL: slac-alarm-manager-1.3.0.tar.gz
- Upload date:
- Size: 27.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e24105438eeb4db714bef67221b9202747a77381ad3ae00f3cd0130a6904094e |
|
MD5 | 301493085a9d99a5ba5350194fa8c0e7 |
|
BLAKE2b-256 | a0eb4e06c002773ce1eb1f8d4fa9c81078adb268c588b97d52ed47c8ec94a919 |
Provenance
File details
Details for the file slac_alarm_manager-1.3.0-py3-none-any.whl
.
File metadata
- Download URL: slac_alarm_manager-1.3.0-py3-none-any.whl
- Upload date:
- Size: 35.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1a947414bf5b399212443e8a6da5d1c7fe1e1bde7c2eb2ac58726434a1f747d |
|
MD5 | 7496ec573d01af2233902bc9fd30ec09 |
|
BLAKE2b-256 | 01844dcb06b23f757e2b181d1ef371f16696763564de14a54aef69f62b240e81 |