The EKF System Management Library (ekfsm) is a sensor monitoring suite for Compact PCI Serial devices.
Project description
ekfsm - EKF system management library
Provides access to system management functions on Linux based modular hardware systems, such as CompactPCI-Serial systems.
Initial implementation for DP-ZIP2 CompactPCI-Serial system
Features
- System configuration via YAML configuration file
- Obtain inventory information of the system and its components
- Obtain sensor information, such as temperature, humidity, voltage, current, accelerometer, gyroscope, etc.
- Access to system level functions, such as system LEDs, system fan, system power supply, etc.
- Supports simulation mode for development and testing
Packaging
The project can be packaged and deployed as a pypi package to the gitlab pypi registry.
The project metadata is partially generated dynamically from the project readme and the auto generated version tag from SCM.
Build the package
To build the package run make build
Upload package manually to the GITLAB package registry
- Set up your authentication method and the project URL in your
~/.pypircaccording to Authenticate with the package registry - Run
make upload
Note that the version string which is generated complies to the setuptools-scm default versioning scheme and thus the version string will be slightly different from the string generated during the pipeline build if running from a shell in a workspace.
See also SetupTools-SCM Documentation and SetupTool UserGuide.
Install a package
See instructions given in the packages deployed under this projects pypi registry.
Generating documentation
From the nix shell, run make docs to generate the documentation. This will start a local web server to view the generated documentation. It is automatically updated when the source code changes.
The documentation is generated using the sphinx tool. The configuration and docs are stored in the docs folder.
Remote development on the target
On the remote machine, install recent version of direnv:
curl -sfL https://direnv.net/install.sh | bash
Add the following line to your ~/.bashrc or ~/.bash_profile:
eval "$(direnv hook bash)"
Install the following extensions in VSCode:
- cab404.vscode-direnv
- ms-python.mypy-type-checker
- mikoz.black-py
- ms-python.python
- ms-python.vscode-pylance
- ms-python.debugpy
From vscode on the host machine, open the project folder on the remote machine via ssh. The direnv extension will automatically load the environment variables from the .envrc file.
Project details
Release history Release notifications | RSS feed
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
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 ekfsm-0.12.0.post1.tar.gz.
File metadata
- Download URL: ekfsm-0.12.0.post1.tar.gz
- Upload date:
- Size: 123.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.4.30
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
070b5da15d8a19743f31a7ee8aaa2905e2410861bfa33e9505f5463f77697caa
|
|
| MD5 |
018a0516e0ccb1e13270f74f514ef450
|
|
| BLAKE2b-256 |
00b5a6ca26a29ea1b10eaaddb1fb24cc6faf9a885b517d05f8fef17e0c14e5a5
|
File details
Details for the file ekfsm-0.12.0.post1-py3-none-any.whl.
File metadata
- Download URL: ekfsm-0.12.0.post1-py3-none-any.whl
- Upload date:
- Size: 44.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.4.30
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
838c1112a1c369df06834b3144cc71eb0185346721758e341715f4124bdce2ed
|
|
| MD5 |
7dabce672a00e6ba0ec77d65b8cf5314
|
|
| BLAKE2b-256 |
4c4973bfa243fc73ac07121bda3bba920d0675cfd28fd6a3fcac3ae77d6d83dc
|