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.11.0b1.post3.tar.gz (117.6 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.11.0b1.post3-py3-none-any.whl (42.4 kB view details)

Uploaded Python 3

File details

Details for the file ekfsm-0.11.0b1.post3.tar.gz.

File metadata

  • Download URL: ekfsm-0.11.0b1.post3.tar.gz
  • Upload date:
  • Size: 117.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.4.30

File hashes

Hashes for ekfsm-0.11.0b1.post3.tar.gz
Algorithm Hash digest
SHA256 47685b923b65e89c8934256c62f7eb800871d4224d2d0111644738b1e334b104
MD5 246f2c597b7ee16ab1efa45c6f0369d9
BLAKE2b-256 8f32da34be8bcc69fb910634bbc45561f4360aecd8eb3f532d8bdca7ed604d67

See more details on using hashes here.

File details

Details for the file ekfsm-0.11.0b1.post3-py3-none-any.whl.

File metadata

File hashes

Hashes for ekfsm-0.11.0b1.post3-py3-none-any.whl
Algorithm Hash digest
SHA256 99865233cf228f6ba6190f94a5028462dd7fdcb2d113bde5f49e669a23212489
MD5 a6a2de1c63d8d3574864702249d5d59a
BLAKE2b-256 87726ee9f8697e0c50ec92c7aff5526792cb904d9a02b36500a53d1165a9384b

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