ekfsm 0.12.0.post1__py3-none-any.whl → 0.13.0a160.post4__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of ekfsm might be problematic. Click here for more details.
- ekfsm/boards/oem/ekf/se5-club.yaml +41 -0
- ekfsm/boards/oem/ekf/sn4-djembe.yaml +41 -0
- ekfsm/boards/oem/hitron/{hdrc-300.yaml → hdrc-300s.yaml} +6 -2
- ekfsm/cli.py +6 -1
- ekfsm/config.py +1 -0
- ekfsm/core/components.py +14 -5
- ekfsm/core/utils.py +26 -11
- ekfsm/devices/__init__.py +4 -3
- ekfsm/devices/{hwmon.py → coretemp.py} +8 -6
- ekfsm/devices/eeprom.py +41 -4
- ekfsm/devices/ekf_ccu_uc.py +2 -2
- ekfsm/devices/ekf_sur_led.py +2 -2
- ekfsm/devices/generic.py +20 -15
- ekfsm/devices/gpio.py +7 -7
- ekfsm/devices/iio_thermal_humidity.py +2 -2
- ekfsm/devices/mux.py +3 -3
- ekfsm/devices/pmbus.py +196 -14
- ekfsm/devices/smbus.py +24 -0
- ekfsm/simctrl.py +5 -27
- ekfsm/system.py +46 -19
- ekfsm-0.13.0a160.post4.dist-info/METADATA +174 -0
- ekfsm-0.13.0a160.post4.dist-info/RECORD +44 -0
- ekfsm-0.12.0.post1.dist-info/METADATA +0 -86
- ekfsm-0.12.0.post1.dist-info/RECORD +0 -41
- {ekfsm-0.12.0.post1.dist-info → ekfsm-0.13.0a160.post4.dist-info}/WHEEL +0 -0
- {ekfsm-0.12.0.post1.dist-info → ekfsm-0.13.0a160.post4.dist-info}/entry_points.txt +0 -0
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: ekfsm
|
|
3
|
-
Version: 0.12.0.post1
|
|
4
|
-
Summary: The EKF System Management Library (ekfsm) is a sensor monitoring suite for Compact PCI Serial devices.
|
|
5
|
-
Author-email: Klaus Popp <klaus.popp@ci4rail.com>, Jan Jansen <jan@ekf.de>, Felix Päßler <fp@ekf.de>
|
|
6
|
-
Requires-Python: >=3.10
|
|
7
|
-
Requires-Dist: anytree
|
|
8
|
-
Requires-Dist: click>=8.0.1
|
|
9
|
-
Requires-Dist: crcmod
|
|
10
|
-
Requires-Dist: gpiod>=2.1.0
|
|
11
|
-
Requires-Dist: hexdump
|
|
12
|
-
Requires-Dist: more-itertools
|
|
13
|
-
Requires-Dist: munch
|
|
14
|
-
Requires-Dist: smbus2
|
|
15
|
-
Requires-Dist: types-pyyaml>=6.0.12.20241230
|
|
16
|
-
Requires-Dist: yamale
|
|
17
|
-
Description-Content-Type: text/markdown
|
|
18
|
-
|
|
19
|
-
# ekfsm - EKF system management library
|
|
20
|
-
|
|
21
|
-
Provides access to system management functions on Linux based modular hardware systems,
|
|
22
|
-
such as CompactPCI-Serial systems.
|
|
23
|
-
|
|
24
|
-
Initial implementation for [DP-ZIP2 CompactPCI-Serial system](https://ekf.atlassian.net/l/cp/KzN2q7KR)
|
|
25
|
-
|
|
26
|
-
## Features
|
|
27
|
-
|
|
28
|
-
- System configuration via YAML configuration file
|
|
29
|
-
- Obtain inventory information of the system and its components
|
|
30
|
-
- Obtain sensor information, such as temperature, humidity, voltage, current, accelerometer, gyroscope, etc.
|
|
31
|
-
- Access to system level functions, such as system LEDs, system fan, system power supply, etc.
|
|
32
|
-
- Supports simulation mode for development and testing
|
|
33
|
-
|
|
34
|
-
## Packaging
|
|
35
|
-
|
|
36
|
-
The project can be packaged and deployed as a pypi package to the gitlab pypi registry.
|
|
37
|
-
|
|
38
|
-
The project metadata is partially generated dynamically from the project readme and the auto generated version tag from SCM.
|
|
39
|
-
|
|
40
|
-
### Build the package
|
|
41
|
-
|
|
42
|
-
To build the package run `make build`
|
|
43
|
-
|
|
44
|
-
### Upload package manually to the GITLAB package registry
|
|
45
|
-
|
|
46
|
-
1. Set up your authentication method and the project URL in your `~/.pypirc` according to [Authenticate with the package registry](https://gitlab.ekf.com/api/v4/projects/407/packages/pypi)
|
|
47
|
-
2. Run `make upload`
|
|
48
|
-
|
|
49
|
-
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.
|
|
50
|
-
|
|
51
|
-
*See also [SetupTools-SCM Documentation](https://setuptools-scm.readthedocs.io/en/latest/) and [SetupTool UserGuide](https://setuptools.pypa.io/en/latest/userguide).*
|
|
52
|
-
|
|
53
|
-
## Install a package
|
|
54
|
-
|
|
55
|
-
See instructions given in the packages deployed under [this projects pypi registry](https://gitlab.ekf.com/libs/apis/ekfsm/-/packages/).
|
|
56
|
-
|
|
57
|
-
## Generating documentation
|
|
58
|
-
|
|
59
|
-
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.
|
|
60
|
-
|
|
61
|
-
The documentation is generated using the `sphinx` tool. The configuration and docs are stored in the `docs` folder.
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
## Remote development on the target
|
|
65
|
-
|
|
66
|
-
On the remote machine, install recent version of direnv:
|
|
67
|
-
|
|
68
|
-
```bash
|
|
69
|
-
curl -sfL https://direnv.net/install.sh | bash
|
|
70
|
-
```
|
|
71
|
-
|
|
72
|
-
Add the following line to your ~/.bashrc or ~/.bash_profile:
|
|
73
|
-
|
|
74
|
-
```bash
|
|
75
|
-
eval "$(direnv hook bash)"
|
|
76
|
-
```
|
|
77
|
-
|
|
78
|
-
Install the following extensions in VSCode:
|
|
79
|
-
* cab404.vscode-direnv
|
|
80
|
-
* ms-python.mypy-type-checker
|
|
81
|
-
* mikoz.black-py
|
|
82
|
-
* ms-python.python
|
|
83
|
-
* ms-python.vscode-pylance
|
|
84
|
-
* ms-python.debugpy
|
|
85
|
-
|
|
86
|
-
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.
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
ekfsm/__init__.py,sha256=RF5mSVhkFWVsbJgYk-qMKb9eVHAcQ7WbJCunGBim4Ig,244
|
|
2
|
-
ekfsm/cli.py,sha256=HJuqHtaa0RH2m-1yk5J9d2gQ8ybjVf7FdIzLcBssacA,2743
|
|
3
|
-
ekfsm/config.py,sha256=mBWfPeD7U3Zh9qPwLVC_mfykGI6lxZ4mJcV8Vf3PI_0,890
|
|
4
|
-
ekfsm/exceptions.py,sha256=25P677GxfBTdBWHRngPce0bmhcLg7MFeTtuAvguxd90,1310
|
|
5
|
-
ekfsm/log.py,sha256=_GC8Y7a4fFV4_DNicbwQ-5rRzNQU6WSotXd2etXSrZk,866
|
|
6
|
-
ekfsm/py.typed,sha256=1gNRtmxvYcVqDDEyAzBLnD8dAOweUfYxW2ZPdJzN1fg,102
|
|
7
|
-
ekfsm/simctrl.py,sha256=dD7pO7EBTiWwSP8ZrGf9-H69g4yDQE3hGtQn5Y3MR1w,7002
|
|
8
|
-
ekfsm/system.py,sha256=_4jkaoikSY5SbHtrzuwiAInE9EnorDh1IampC5v-gHw,10732
|
|
9
|
-
ekfsm/boards/oem/ekf/ccu.yaml,sha256=qgr7YZO0kEddD9K6tv6222NyozkRNuF7NFw6hyX0XgE,2094
|
|
10
|
-
ekfsm/boards/oem/ekf/sc5-festival.yaml,sha256=_0kS5GegfyOt5CTJc9kY6HJbr9yZo4i18sVo6F4KE9c,772
|
|
11
|
-
ekfsm/boards/oem/ekf/sc9-toccata.yaml,sha256=btLgQMSsW0tRipnUYUkVQSIsjzxfKq0NXaQ1fMMyBRI,771
|
|
12
|
-
ekfsm/boards/oem/ekf/spv-mystic.yaml,sha256=zcLiNE7wVdXIT4vkwEYSqQ8ff-KEjCHfHnQzzPXJQ4E,1804
|
|
13
|
-
ekfsm/boards/oem/ekf/sq1-track.yaml,sha256=YU83BQjGu-4ejirwnGxd38sJme859kdRovkZyiOJciU,1050
|
|
14
|
-
ekfsm/boards/oem/ekf/sq3-quartet.yaml,sha256=pBB7Tv0IWLkFUYBs3tFvZriA-uqPuPIgzjaN0aHT4e4,1052
|
|
15
|
-
ekfsm/boards/oem/ekf/srf-fan.yaml,sha256=Mcu1Q8B1Ih10hoc_hbkGlppBmbOFcufsVUR42iW4Rwc,1368
|
|
16
|
-
ekfsm/boards/oem/ekf/sur-uart.yaml,sha256=VaNP2BSlNTi1lDco16Ma9smPEAMaVKvx-ZNDcm3QptM,1890
|
|
17
|
-
ekfsm/boards/oem/hitron/hdrc-300.yaml,sha256=juRO3ahLNNqCH099-QJGQRWRh5qg-brAob0maJ0R5tY,427
|
|
18
|
-
ekfsm/core/__init__.py,sha256=nv3Rs-E953M9PBFV9ryejRY-KM6xG1NMlQTWwzCEQwo,212
|
|
19
|
-
ekfsm/core/components.py,sha256=_b48cXuOhAtczp_Ykekt1r5nNlrddSOXS6lMfWCFyp8,3682
|
|
20
|
-
ekfsm/core/probe.py,sha256=DgJvkvMjVk09n0Rzn13ybRvidrmFn_D2PD56XS-KgxU,262
|
|
21
|
-
ekfsm/core/slots.py,sha256=WOKYO-8TfpWexu3DsSjrYTvjtN4pAMiy22zMjjUI-qQ,6569
|
|
22
|
-
ekfsm/core/sysfs.py,sha256=iW_XWtEjW7pZqpJc_RyMzhVjbetw0ydTH11lhfxrPbc,2541
|
|
23
|
-
ekfsm/core/utils.py,sha256=RYX-rd0pBBXvwjyInDFD8BKZppIBvln9sT4o4kRRcMk,2504
|
|
24
|
-
ekfsm/devices/__init__.py,sha256=h3pE3yPnquTIykpi7yxoTJOJ8YfVh_PqGiFMJGpXdCs,888
|
|
25
|
-
ekfsm/devices/eeprom.py,sha256=ubeext9PC6FDQ1qoaYZp3ZNRlEhPYBzTe1oXJdm4qtU,31029
|
|
26
|
-
ekfsm/devices/ekf_ccu_uc.py,sha256=V3xwL156Y9akgRohl8HCR2FuvklPW65hapkLa_nSlko,15268
|
|
27
|
-
ekfsm/devices/ekf_sur_led.py,sha256=KPr75RVQQKEUWj5gP0ciSJam9jWniG1ew3k_62onwrE,1887
|
|
28
|
-
ekfsm/devices/generic.py,sha256=LuNpf0sn-TwZ1nkJc3Shu4-07mAhQIc6-CJwu7cNZwc,9273
|
|
29
|
-
ekfsm/devices/gpio.py,sha256=EXUcfxG8p8-B4ym4CFNwqT563Rp-roDNMs2Xlm4KzhU,9582
|
|
30
|
-
ekfsm/devices/hwmon.py,sha256=EXBFTE6QfhpA-Xb7CnhlR_fVGIjw5tWt3JzrtkXKGic,1987
|
|
31
|
-
ekfsm/devices/iio.py,sha256=gMOJGdg2PvFbAvlBpLfDTIc_-9i1Z3OLpuabTke6N3I,1480
|
|
32
|
-
ekfsm/devices/iio_thermal_humidity.py,sha256=YjXHI2AXSDpAuAGHYc_Kk7wMO9LGimHSXnARw4rxYJ0,1212
|
|
33
|
-
ekfsm/devices/imu.py,sha256=bnSaTjGSLV90FyUbkK9oTon0dmF7N_JQ4uGmBPFA5Co,414
|
|
34
|
-
ekfsm/devices/mux.py,sha256=mFd0Tr5XQp6MIMNV1xpsQETrELWkvx1ZTSAemiUasoU,1042
|
|
35
|
-
ekfsm/devices/pmbus.py,sha256=Zf3JfMX1VTmmU2hoZkqOR9UTZcNRvnbqhhOlZ4sdoX4,2033
|
|
36
|
-
ekfsm/devices/smbios.py,sha256=KC1D2dSRaertYLeMFF6C9hQUI_RcTzVdtQ1qh8Hbces,985
|
|
37
|
-
ekfsm/devices/utils.py,sha256=4-0Kmvy4ou8R71afNj6RqdBTjLW4SMWPHqVrzB2RUZw,397
|
|
38
|
-
ekfsm-0.12.0.post1.dist-info/METADATA,sha256=qslFxdmq98DMVXMIClGyL2DaZmbH95mE1hrkpikj0as,3368
|
|
39
|
-
ekfsm-0.12.0.post1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
40
|
-
ekfsm-0.12.0.post1.dist-info/entry_points.txt,sha256=WhUR4FzuxPoGrbTOKLsNJO7NAnk2qd4T30fqzN1yLw8,45
|
|
41
|
-
ekfsm-0.12.0.post1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|