Skip to main content

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

  1. Set up your authentication method and the project URL in your ~/.pypirc according to Authenticate with the package registry
  2. 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

ekfsm-0.12.0.post1.tar.gz (123.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ekfsm-0.12.0.post1-py3-none-any.whl (44.0 kB view details)

Uploaded Python 3

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

Hashes for ekfsm-0.12.0.post1.tar.gz
Algorithm Hash digest
SHA256 070b5da15d8a19743f31a7ee8aaa2905e2410861bfa33e9505f5463f77697caa
MD5 018a0516e0ccb1e13270f74f514ef450
BLAKE2b-256 00b5a6ca26a29ea1b10eaaddb1fb24cc6faf9a885b517d05f8fef17e0c14e5a5

See more details on using hashes here.

File details

Details for the file ekfsm-0.12.0.post1-py3-none-any.whl.

File metadata

File hashes

Hashes for ekfsm-0.12.0.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 838c1112a1c369df06834b3144cc71eb0185346721758e341715f4124bdce2ed
MD5 7dabce672a00e6ba0ec77d65b8cf5314
BLAKE2b-256 4c4973bfa243fc73ac07121bda3bba920d0675cfd28fd6a3fcac3ae77d6d83dc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page