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.9+
- 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
Metadata
Release files for slac-alarm-manager 1.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| slac_alarm_manager-1.4.0.tar.gz | 755.1 kB | Without provenance | Details for slac_alarm_manager-1.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| slac_alarm_manager-1.4.0-py3-none-any.whl | Python 3 | none | any | Details for slac_alarm_manager-1.4.0-py3-none-any.whl |
Total release size: 808.6 kB
Release files / slac_alarm_manager-1.4.0.tar.gz
| Download URL | slac_alarm_manager-1.4.0.tar.gz |
|---|---|
| Size | 755.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6d3d1434e1802f68ac3347697964c75b0468f86c13a260fbce79e005d4806748
|
|
BLAKE2b-256 checksum How to use checksums |
490eaac74397c118a6dcd0984dc154bbda66b3a0cac0720d3af4a96705b5dc77
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.21
|
Release files / slac_alarm_manager-1.4.0-py3-none-any.whl
| Download URL | slac_alarm_manager-1.4.0-py3-none-any.whl |
|---|---|
| Size | 53.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1cfef1c032358fb2998a12864c34b0efd742321d0dce5e265b3d4711320d3dc4
|
|
BLAKE2b-256 checksum How to use checksums |
3f0e8544706d0835bebf7dc7bb10e8efaf7216418cf42ea78e17b9ae6eeb5e2a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.21
|
Security for slac-alarm-manager 1.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.