Skip to main content

A python library for io4edge devices

Project description

io4edge-client-python

python client sdk for io4edge.

io4edge devices are intelligent I/O devices invented by Ci4Rail, connected to the host via network.

This library provides support for the following function blocks within io4edge devices:

  • io4edge management functions, such as firmware update
  • Analog In TypeA - IOU01, MIO01
  • Analog In TypeB - IOU09, MIO09
  • Binary IO TypeA - IOU01, MIO01
  • CAN Layer2 - IOU03, MIO03, IOU04, MIO04, IOU06
  • MVB Sniffer - IOU03, MIO03
  • Binary IO TypeB - IOU06, EKF SQ1, EKF SQ3
  • Binary IO TypeC - IOU07
  • Bitbus Sniffer - IOU13
  • Digiwave - IOU13
  • Binary IO TypeD - EKF SQ1
  • Pixel Display - EKF SQ3
  • Color LED - EKF Z1010
  • Watchdog - EKF Z1010

Currently not supported, but will follow:

  • Motion Sensor - CPU01UC

Installation

pip3 install io4edge_client

Usage

See examples in github repo for usage examples.

Running in Docker

To run the examples in a docker container, you can use the provided Dockerfile in examples/docker directory.

In the Dockerfile, Replace dumpstream.py script with your python application path.

To build the docker image, run the following command on your host to build it for your target platform, in this case the target platform linux/arm64:

docker buildx build --platform linux/arm64  -f examples/docker/Dockerfile . --push -t <your-docker-image-name>:<version>

On your target platform, run the container in the host network, so that you can use the service names of the io4edge devices:

docker run --network=host <your-docker-image-name>:<version> <parameters-to-your-python-script>

Releasing

To release a new version of the package, follow these steps:

  1. Update the version number in io4edge-client/version.py.
  2. Create a new git tag with the same version number, e.g. git tag v1.0.0.
  3. Push the tag to the remote repository: git push --tags.

Copyright

Copyright © 2021-2025 Ci4Rail GmbH engineering@ci4rail.com

io4edge_client_python package is released under Apache 2.0 License, see LICENSE for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

io4edge_client-2.2.0.tar.gz (37.8 kB view details)

Uploaded Source

Built Distribution

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

io4edge_client-2.2.0-py3-none-any.whl (73.3 kB view details)

Uploaded Python 3

File details

Details for the file io4edge_client-2.2.0.tar.gz.

File metadata

  • Download URL: io4edge_client-2.2.0.tar.gz
  • Upload date:
  • Size: 37.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for io4edge_client-2.2.0.tar.gz
Algorithm Hash digest
SHA256 c33a8494d07a725bd5fb8d767069ad0e5e8c666409159952dc4e37b52a87fd42
MD5 c41d1e5532544288de91421c9b4c5ec0
BLAKE2b-256 8da7d3a1c3c458458e5989e009d207d7f6b06a39747d8ab904a296e40c41f5c1

See more details on using hashes here.

File details

Details for the file io4edge_client-2.2.0-py3-none-any.whl.

File metadata

  • Download URL: io4edge_client-2.2.0-py3-none-any.whl
  • Upload date:
  • Size: 73.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for io4edge_client-2.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4a61372d654c36efc8f67277a6233acf5f64d5d2f1b4c4b28a4aa917f4ac95e7
MD5 b3cfe478ac5153e6a0af176f88bccd58
BLAKE2b-256 b90b7ac599b5e110cf1df0bc6b61aaf4664a48cbdf306e0d07600c96802d8511

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