io4edge-client 2.6.3.dev0__tar.gz → 2.6.5__tar.gz
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.
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/.gitignore +2 -0
- io4edge_client-2.6.5/.vscode/settings.json +9 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/PKG-INFO +1 -1
- io4edge_client-2.6.5/io4edge_client/__init__.py +99 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/_version.py +1 -1
- io4edge_client-2.6.5/io4edge_client/api/.devcontainer/devcontainer.json +31 -0
- io4edge_client-2.6.5/io4edge_client/api/.github/workflows/generate.yaml +40 -0
- io4edge_client-2.6.5/io4edge_client/api/.gitignore +4 -0
- io4edge_client-2.6.5/io4edge_client/api/.pre-commit-config.yaml +34 -0
- io4edge_client-2.6.5/io4edge_client/api/LICENSE +21 -0
- io4edge_client-2.6.5/io4edge_client/api/Makefile +9 -0
- io4edge_client-2.6.5/io4edge_client/api/README.md +18 -0
- io4edge_client-2.6.5/io4edge_client/api/analogInTypeA/Makefile +3 -0
- io4edge_client-2.6.5/io4edge_client/api/analogInTypeA/go/analogInTypeA/v1alpha1/analogInTypeA.pb.go +660 -0
- io4edge_client-2.6.5/io4edge_client/api/analogInTypeA/proto/analogInTypeA/v1alpha1/analogInTypeA.proto +98 -0
- io4edge_client-2.6.5/io4edge_client/api/analogInTypeA/protobuf-c/analogInTypeA/v1alpha1/analogInTypeA.pb-c.c +941 -0
- io4edge_client-2.6.5/io4edge_client/api/analogInTypeA/protobuf-c/analogInTypeA/v1alpha1/analogInTypeA.pb-c.h +521 -0
- io4edge_client-2.6.5/io4edge_client/api/analogInTypeB/Makefile +3 -0
- io4edge_client-2.6.5/io4edge_client/api/analogInTypeB/go/analogInTypeB/v1/analogInTypeB.pb.go +828 -0
- io4edge_client-2.6.5/io4edge_client/api/analogInTypeB/proto/analogInTypeB/v1/analogInTypeB.proto +120 -0
- io4edge_client-2.6.5/io4edge_client/api/analogInTypeB/protobuf-c/analogInTypeB/v1/analogInTypeB.pb-c.c +1212 -0
- io4edge_client-2.6.5/io4edge_client/api/analogInTypeB/protobuf-c/analogInTypeB/v1/analogInTypeB.pb-c.h +613 -0
- io4edge_client-2.6.5/io4edge_client/api/binaryIoTypeA/Makefile +3 -0
- io4edge_client-2.6.5/io4edge_client/api/binaryIoTypeA/go/binaryIoTypeA/v1alpha1/binaryIoTypeA.pb.go +1402 -0
- io4edge_client-2.6.5/io4edge_client/api/binaryIoTypeA/proto/binaryIoTypeA/v1alpha1/binaryIoTypeA.proto +181 -0
- io4edge_client-2.6.5/io4edge_client/api/binaryIoTypeA/protobuf-c/binaryIoTypeA/v1alpha1/binaryIoTypeA.pb-c.c +1897 -0
- io4edge_client-2.6.5/io4edge_client/api/binaryIoTypeA/protobuf-c/binaryIoTypeA/v1alpha1/binaryIoTypeA.pb-c.h +950 -0
- io4edge_client-2.6.5/io4edge_client/api/binaryIoTypeB/Makefile +3 -0
- io4edge_client-2.6.5/io4edge_client/api/binaryIoTypeB/go/binaryIoTypeB/v1alpha1/binaryIoTypeB.pb.go +1612 -0
- io4edge_client-2.6.5/io4edge_client/api/binaryIoTypeB/proto/binaryIoTypeB/v1alpha1/binaryIoTypeB.proto +190 -0
- io4edge_client-2.6.5/io4edge_client/api/binaryIoTypeB/protobuf-c/binaryIoTypeB/v1alpha1/binaryIoTypeB.pb-c.c +2077 -0
- io4edge_client-2.6.5/io4edge_client/api/binaryIoTypeB/protobuf-c/binaryIoTypeB/v1alpha1/binaryIoTypeB.pb-c.h +1034 -0
- io4edge_client-2.6.5/io4edge_client/api/binaryIoTypeC/Makefile +3 -0
- io4edge_client-2.6.5/io4edge_client/api/binaryIoTypeC/go/binaryIoTypeC/v1alpha1/binaryIoTypeC.pb.go +1683 -0
- io4edge_client-2.6.5/io4edge_client/api/binaryIoTypeC/proto/binaryIoTypeC/v1alpha1/binaryIoTypeC.proto +228 -0
- io4edge_client-2.6.5/io4edge_client/api/binaryIoTypeC/protobuf-c/binaryIoTypeC/v1alpha1/binaryIoTypeC.pb-c.c +2123 -0
- io4edge_client-2.6.5/io4edge_client/api/binaryIoTypeC/protobuf-c/binaryIoTypeC/v1alpha1/binaryIoTypeC.pb-c.h +1071 -0
- io4edge_client-2.6.5/io4edge_client/api/binaryIoTypeD/Makefile +3 -0
- io4edge_client-2.6.5/io4edge_client/api/binaryIoTypeD/go/binaryIoTypeD/v1/binaryIoTypeD.pb.go +1174 -0
- io4edge_client-2.6.5/io4edge_client/api/binaryIoTypeD/proto/binaryIoTypeD/v1/binaryIoTypeD.proto +161 -0
- io4edge_client-2.6.5/io4edge_client/api/binaryIoTypeD/protobuf-c/binaryIoTypeD/v1/binaryIoTypeD.pb-c.c +1515 -0
- io4edge_client-2.6.5/io4edge_client/api/binaryIoTypeD/protobuf-c/binaryIoTypeD/v1/binaryIoTypeD.pb-c.h +778 -0
- io4edge_client-2.6.5/io4edge_client/api/bitbusSniffer/Makefile +3 -0
- io4edge_client-2.6.5/io4edge_client/api/bitbusSniffer/go/bitbusSniffer/v1/bitbusSniffer.pb.go +810 -0
- io4edge_client-2.6.5/io4edge_client/api/bitbusSniffer/proto/bitbusSniffer/v1/bitbusSniffer.proto +128 -0
- io4edge_client-2.6.5/io4edge_client/api/bitbusSniffer/protobuf-c/bitbusSniffer/v1/bitbusSniffer.pb-c.c +1088 -0
- io4edge_client-2.6.5/io4edge_client/api/bitbusSniffer/protobuf-c/bitbusSniffer/v1/bitbusSniffer.pb-c.h +614 -0
- io4edge_client-2.6.5/io4edge_client/api/canL2/Makefile +3 -0
- io4edge_client-2.6.5/io4edge_client/api/canL2/go/canL2/v1alpha1/canL2.pb.go +1099 -0
- io4edge_client-2.6.5/io4edge_client/api/canL2/proto/canL2/v1alpha1/canL2.proto +154 -0
- io4edge_client-2.6.5/io4edge_client/api/canL2/protobuf-c/canL2/v1alpha1/canL2.pb-c.c +1406 -0
- io4edge_client-2.6.5/io4edge_client/api/canL2/protobuf-c/canL2/v1alpha1/canL2.pb-c.h +690 -0
- io4edge_client-2.6.5/io4edge_client/api/colorLED/Makefile +3 -0
- io4edge_client-2.6.5/io4edge_client/api/colorLED/go/colorLED/v1alpha1/colorLED.pb.go +1000 -0
- io4edge_client-2.6.5/io4edge_client/api/colorLED/proto/colorLED/v1alpha1/colorLED.proto +129 -0
- io4edge_client-2.6.5/io4edge_client/api/colorLED/protobuf-c/colorLED/v1alpha1/colorLED.pb-c.c +1266 -0
- io4edge_client-2.6.5/io4edge_client/api/colorLED/protobuf-c/colorLED/v1alpha1/colorLED.pb-c.h +640 -0
- io4edge_client-2.6.5/io4edge_client/api/digiwave/Makefile +3 -0
- io4edge_client-2.6.5/io4edge_client/api/digiwave/go/digiwave/v1/digiwave.pb.go +664 -0
- io4edge_client-2.6.5/io4edge_client/api/digiwave/proto/digiwave/v1/digiwave.proto +102 -0
- io4edge_client-2.6.5/io4edge_client/api/digiwave/protobuf-c/digiwave/v1/digiwave.pb-c.c +934 -0
- io4edge_client-2.6.5/io4edge_client/api/digiwave/protobuf-c/digiwave/v1/digiwave.pb-c.h +532 -0
- io4edge_client-2.6.5/io4edge_client/api/eeprom/Makefile +3 -0
- io4edge_client-2.6.5/io4edge_client/api/eeprom/go/eeprom/v1alpha1/eeprom.pb.go +1473 -0
- io4edge_client-2.6.5/io4edge_client/api/eeprom/proto/eeprom/v1alpha1/eeprom.proto +198 -0
- io4edge_client-2.6.5/io4edge_client/api/eeprom/protobuf-c/eeprom/v1alpha1/eeprom.pb-c.c +1903 -0
- io4edge_client-2.6.5/io4edge_client/api/eeprom/protobuf-c/eeprom/v1alpha1/eeprom.pb-c.h +915 -0
- io4edge_client-2.6.5/io4edge_client/api/go.mod +5 -0
- io4edge_client-2.6.5/io4edge_client/api/go.sum +8 -0
- io4edge_client-2.6.5/io4edge_client/api/google_wellknowntypes/Makefile +5 -0
- io4edge_client-2.6.5/io4edge_client/api/google_wellknowntypes/go/google.golang.org/protobuf/types/known/anypb/any.pb.go +393 -0
- io4edge_client-2.6.5/io4edge_client/api/google_wellknowntypes/go/google.golang.org/protobuf/types/known/timestamppb/timestamp.pb.go +326 -0
- io4edge_client-2.6.5/io4edge_client/api/google_wellknowntypes/proto/google/protobuf/any.proto +158 -0
- io4edge_client-2.6.5/io4edge_client/api/google_wellknowntypes/proto/google/protobuf/timestamp.proto +147 -0
- io4edge_client-2.6.5/io4edge_client/api/google_wellknowntypes/protobuf-c/google/protobuf/any.pb-c.c +105 -0
- io4edge_client-2.6.5/io4edge_client/api/google_wellknowntypes/protobuf-c/google/protobuf/any.pb-c.h +167 -0
- io4edge_client-2.6.5/io4edge_client/api/google_wellknowntypes/protobuf-c/google/protobuf/timestamp.pb-c.c +105 -0
- io4edge_client-2.6.5/io4edge_client/api/google_wellknowntypes/protobuf-c/google/protobuf/timestamp.pb-c.h +151 -0
- io4edge_client-2.6.5/io4edge_client/api/install_tools_ubuntu.sh +49 -0
- io4edge_client-2.6.5/io4edge_client/api/io4edge/Makefile +9 -0
- io4edge_client-2.6.5/io4edge_client/api/io4edge/core_api.mk +3 -0
- io4edge_client-2.6.5/io4edge_client/api/io4edge/functionblock.mk +3 -0
- io4edge_client-2.6.5/io4edge_client/api/io4edge/go/core_api/v1alpha2/io4edge_core_api.pb.go +1180 -0
- io4edge_client-2.6.5/io4edge_client/api/io4edge/go/functionblock/v1alpha1/io4edge_functionblock.pb.go +1322 -0
- io4edge_client-2.6.5/io4edge_client/api/io4edge/go/inventory/v1alpha1/io4edge_inventory.pb.go +155 -0
- io4edge_client-2.6.5/io4edge_client/api/io4edge/inventory.mk +3 -0
- io4edge_client-2.6.5/io4edge_client/api/io4edge/proto/core_api/v1alpha2/io4edge_core_api.proto +129 -0
- io4edge_client-2.6.5/io4edge_client/api/io4edge/proto/functionblock/v1alpha1/io4edge_functionblock.proto +153 -0
- io4edge_client-2.6.5/io4edge_client/api/io4edge/proto/inventory/v1alpha1/io4edge_inventory.proto +25 -0
- io4edge_client-2.6.5/io4edge_client/api/io4edge/protobuf-c/core_api/v1alpha2/io4edge_core_api.pb-c.c +1403 -0
- io4edge_client-2.6.5/io4edge_client/api/io4edge/protobuf-c/core_api/v1alpha2/io4edge_core_api.pb-c.h +539 -0
- io4edge_client-2.6.5/io4edge_client/api/io4edge/protobuf-c/functionblock/v1alpha1/io4edge_functionblock.pb-c.c +1385 -0
- io4edge_client-2.6.5/io4edge_client/api/io4edge/protobuf-c/functionblock/v1alpha1/io4edge_functionblock.pb-c.h +664 -0
- io4edge_client-2.6.5/io4edge_client/api/io4edge/protobuf-c/inventory/v1alpha1/io4edge_inventory.pb-c.c +118 -0
- io4edge_client-2.6.5/io4edge_client/api/io4edge/protobuf-c/inventory/v1alpha1/io4edge_inventory.pb-c.h +73 -0
- io4edge_client-2.6.5/io4edge_client/api/motionSensor/Makefile +3 -0
- io4edge_client-2.6.5/io4edge_client/api/motionSensor/go/motionSensor/v1/motionSensor.pb.go +732 -0
- io4edge_client-2.6.5/io4edge_client/api/motionSensor/proto/motionSensor/v1/motionSensor.proto +114 -0
- io4edge_client-2.6.5/io4edge_client/api/motionSensor/protobuf-c/motionSensor/v1/motionSensor.pb-c.c +1025 -0
- io4edge_client-2.6.5/io4edge_client/api/motionSensor/protobuf-c/motionSensor/v1/motionSensor.pb-c.h +553 -0
- io4edge_client-2.6.5/io4edge_client/api/mvbDebug/Makefile +3 -0
- io4edge_client-2.6.5/io4edge_client/api/mvbDebug/go/mvbDebug/v1/mvbDebug.pb.go +637 -0
- io4edge_client-2.6.5/io4edge_client/api/mvbDebug/proto/mvbDebug/v1/mvbDebug.proto +92 -0
- io4edge_client-2.6.5/io4edge_client/api/mvbDebug/protobuf-c/mvbDebug/v1/mvbDebug.pb-c.c +908 -0
- io4edge_client-2.6.5/io4edge_client/api/mvbDebug/protobuf-c/mvbDebug/v1/mvbDebug.pb-c.h +513 -0
- io4edge_client-2.6.5/io4edge_client/api/mvbSniffer/Makefile +3 -0
- io4edge_client-2.6.5/io4edge_client/api/mvbSniffer/go/mvbSniffer/v1/mvbSniffer.pb.go +628 -0
- io4edge_client-2.6.5/io4edge_client/api/mvbSniffer/go/mvbSniffer/v1/telegram.pb.go +464 -0
- io4edge_client-2.6.5/io4edge_client/api/mvbSniffer/proto/mvbSniffer/v1/mvbSniffer.proto +104 -0
- io4edge_client-2.6.5/io4edge_client/api/mvbSniffer/proto/mvbSniffer/v1/telegram.proto +76 -0
- io4edge_client-2.6.5/io4edge_client/api/mvbSniffer/protobuf-c/mvbSniffer/v1/mvbSniffer.pb-c.c +864 -0
- io4edge_client-2.6.5/io4edge_client/api/mvbSniffer/protobuf-c/mvbSniffer/v1/mvbSniffer.pb-c.h +496 -0
- io4edge_client-2.6.5/io4edge_client/api/mvbSniffer/protobuf-c/mvbSniffer/v1/telegram.pb-c.c +369 -0
- io4edge_client-2.6.5/io4edge_client/api/mvbSniffer/protobuf-c/mvbSniffer/v1/telegram.pb-c.h +189 -0
- io4edge_client-2.6.5/io4edge_client/api/pixelDisplay/Makefile +3 -0
- io4edge_client-2.6.5/io4edge_client/api/pixelDisplay/go/pixelDisplay/v1alpha1/pixelDisplay.pb.go +1012 -0
- io4edge_client-2.6.5/io4edge_client/api/pixelDisplay/proto/pixelDisplay/v1alpha1/pixelDisplay.proto +125 -0
- io4edge_client-2.6.5/io4edge_client/api/pixelDisplay/protobuf-c/pixelDisplay/v1alpha1/pixelDisplay.pb-c.c +1317 -0
- io4edge_client-2.6.5/io4edge_client/api/pixelDisplay/protobuf-c/pixelDisplay/v1alpha1/pixelDisplay.pb-c.h +692 -0
- io4edge_client-2.6.5/io4edge_client/api/programmablePsu/Makefile +3 -0
- io4edge_client-2.6.5/io4edge_client/api/programmablePsu/go/programmablePsu/v1/programmablePsu.pb.go +1388 -0
- io4edge_client-2.6.5/io4edge_client/api/programmablePsu/proto/programmablePsu/v1/programmablePsu.proto +178 -0
- io4edge_client-2.6.5/io4edge_client/api/programmablePsu/protobuf-c/programmablePsu/v1/programmablePsu.pb-c.c +1777 -0
- io4edge_client-2.6.5/io4edge_client/api/programmablePsu/protobuf-c/programmablePsu/v1/programmablePsu.pb-c.h +828 -0
- io4edge_client-2.6.5/io4edge_client/api/rules.mk +44 -0
- io4edge_client-2.6.5/io4edge_client/api/ssm/Makefile +4 -0
- io4edge_client-2.6.5/io4edge_client/api/ssm/go/ssm/v1/ssm.pb.go +1963 -0
- io4edge_client-2.6.5/io4edge_client/api/ssm/proto/ssm/v1/ssm.proto +224 -0
- io4edge_client-2.6.5/io4edge_client/api/ssm/protobuf-c/ssm/v1/ssm.pb-c.c +2281 -0
- io4edge_client-2.6.5/io4edge_client/api/ssm/protobuf-c/ssm/v1/ssm.pb-c.h +1044 -0
- io4edge_client-2.6.5/io4edge_client/api/templateInterface/Makefile +3 -0
- io4edge_client-2.6.5/io4edge_client/api/templateInterface/go/templateInterface/v1alpha1/templateInterface.pb.go +805 -0
- io4edge_client-2.6.5/io4edge_client/api/templateInterface/proto/templateInterface/v1alpha1/templateInterface.proto +115 -0
- io4edge_client-2.6.5/io4edge_client/api/templateInterface/protobuf-c/templateInterface/v1alpha1/templateInterface.pb-c.c +1110 -0
- io4edge_client-2.6.5/io4edge_client/api/templateInterface/protobuf-c/templateInterface/v1alpha1/templateInterface.pb-c.h +590 -0
- io4edge_client-2.6.5/io4edge_client/api/tracelet/Makefile +3 -0
- io4edge_client-2.6.5/io4edge_client/api/tracelet/go/tracelet/tracelet.pb.go +1632 -0
- io4edge_client-2.6.5/io4edge_client/api/tracelet/proto/v1/speedfeed.proto +33 -0
- io4edge_client-2.6.5/io4edge_client/api/tracelet/proto/v1/tracelet.proto +332 -0
- io4edge_client-2.6.5/io4edge_client/api/tracelet/protobuf-c/v1/tracelet.pb-c.c +1978 -0
- io4edge_client-2.6.5/io4edge_client/api/tracelet/protobuf-c/v1/tracelet.pb-c.h +711 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/base/client.py +16 -11
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/base/connections.py +15 -8
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/base/socket_transport.py +11 -6
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/functionblock/client.py +33 -16
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client.egg-info/PKG-INFO +1 -1
- io4edge_client-2.6.5/io4edge_client.egg-info/SOURCES.txt +296 -0
- io4edge_client-2.6.5/io4edge_client.egg-info/scm_file_list.json +292 -0
- io4edge_client-2.6.5/io4edge_client.egg-info/scm_version.json +8 -0
- io4edge_client-2.6.3.dev0/.vscode/settings.json +0 -3
- io4edge_client-2.6.3.dev0/io4edge_client/__init__.py +0 -51
- io4edge_client-2.6.3.dev0/io4edge_client.egg-info/SOURCES.txt +0 -158
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/.devcontainer/devcontainer.json +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/.github/copilot-instructions.md +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/.github/workflows/pypi.yaml +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/.gitmodules +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/.gitpod.yml +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/.pre-commit-config.yaml +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/LICENSE +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/README.md +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/analogintypea/README.md +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/analogintypea/main.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/analogintypeb/README.md +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/analogintypeb/describe.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/analogintypeb/iou09_calibrate.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/analogintypeb/poll.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/analogintypeb/stream.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/binaryiotypea/README.md +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/binaryiotypea/main.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/binaryiotypeb/outputs/README.md +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/binaryiotypeb/outputs/main.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/binaryiotypeb/stream/main.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/binaryiotypec/README.md +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/binaryiotypec/main.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/binaryiotyped/config.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/binaryiotyped/get_channels.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/binaryiotyped/get_configuration.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/binaryiotyped/set_output.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/binaryiotyped/sq1_blinky.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/bitbussniffer/dumpstream.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/canl2/README.md +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/canl2/config.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/canl2/dumpstream.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/canl2/send.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/core/get_parameter.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/core/identify_firmware.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/core/identify_hardware.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/core/load_firmware.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/core/reset_reason.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/core/restart.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/core/set_parameter.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/digiwave/dumpwave.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/digiwave/sendwave.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/docker/Dockerfile +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/mvbsniffer/README.md +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/mvbsniffer/dumpstream.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/pixelDisplay/README.md +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/pixelDisplay/display/main.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/pixelDisplay/display_partial_image/main.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/pixelDisplay/partial_test1.jpg +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/pixelDisplay/partial_test2.jpg +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/pixelDisplay/sq3/main.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/pixelDisplay/sq3_stream/main.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/examples/pixelDisplay/test.jpg +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/analogintypea/__init__.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/analogintypea/client.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/analogintypeb/__init__.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/analogintypeb/client.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/analogInTypeA/python/analogInTypeA/v1alpha1/analogInTypeA_pb2.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/analogInTypeA/python/analogInTypeA/v1alpha1/analogInTypeA_pb2.pyi +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/analogInTypeB/python/analogInTypeB/v1/analogInTypeB_pb2.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/analogInTypeB/python/analogInTypeB/v1/analogInTypeB_pb2.pyi +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/binaryIoTypeA/python/binaryIoTypeA/v1alpha1/binaryIoTypeA_pb2.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/binaryIoTypeA/python/binaryIoTypeA/v1alpha1/binaryIoTypeA_pb2.pyi +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/binaryIoTypeB/python/binaryIoTypeB/v1alpha1/binaryIoTypeB_pb2.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/binaryIoTypeB/python/binaryIoTypeB/v1alpha1/binaryIoTypeB_pb2.pyi +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/binaryIoTypeC/python/binaryIoTypeC/v1alpha1/binaryIoTypeC_pb2.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/binaryIoTypeC/python/binaryIoTypeC/v1alpha1/binaryIoTypeC_pb2.pyi +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/binaryIoTypeD/python/binaryIoTypeD/v1/binaryIoTypeD_pb2.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/binaryIoTypeD/python/binaryIoTypeD/v1/binaryIoTypeD_pb2.pyi +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/bitbusSniffer/python/bitbusSniffer/v1/bitbusSniffer_pb2.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/bitbusSniffer/python/bitbusSniffer/v1/bitbusSniffer_pb2.pyi +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/canL2/python/canL2/v1alpha1/canL2_pb2.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/canL2/python/canL2/v1alpha1/canL2_pb2.pyi +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/colorLED/python/colorLED/v1alpha1/colorLED_pb2.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/colorLED/python/colorLED/v1alpha1/colorLED_pb2.pyi +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/digiwave/python/digiwave/v1/digiwave_pb2.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/digiwave/python/digiwave/v1/digiwave_pb2.pyi +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/eeprom/python/eeprom/v1alpha1/eeprom_pb2.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/eeprom/python/eeprom/v1alpha1/eeprom_pb2.pyi +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/google_wellknowntypes/python/google/protobuf/any_pb2.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/google_wellknowntypes/python/google/protobuf/any_pb2.pyi +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/google_wellknowntypes/python/google/protobuf/timestamp_pb2.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/google_wellknowntypes/python/google/protobuf/timestamp_pb2.pyi +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/io4edge/python/core_api/v1alpha2/io4edge_core_api_pb2.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/io4edge/python/core_api/v1alpha2/io4edge_core_api_pb2.pyi +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/io4edge/python/functionblock/v1alpha1/io4edge_functionblock_pb2.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/io4edge/python/functionblock/v1alpha1/io4edge_functionblock_pb2.pyi +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/io4edge/python/inventory/v1alpha1/io4edge_inventory_pb2.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/io4edge/python/inventory/v1alpha1/io4edge_inventory_pb2.pyi +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/motionSensor/python/motionSensor/v1/motionSensor_pb2.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/motionSensor/python/motionSensor/v1/motionSensor_pb2.pyi +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/mvbDebug/python/mvbDebug/v1/mvbDebug_pb2.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/mvbDebug/python/mvbDebug/v1/mvbDebug_pb2.pyi +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/mvbSniffer/python/mvbSniffer/v1/mvbSniffer_pb2.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/mvbSniffer/python/mvbSniffer/v1/mvbSniffer_pb2.pyi +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/mvbSniffer/python/mvbSniffer/v1/telegram_pb2.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/mvbSniffer/python/mvbSniffer/v1/telegram_pb2.pyi +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/pixelDisplay/python/pixelDisplay/v1alpha1/pixelDisplay_pb2.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/pixelDisplay/python/pixelDisplay/v1alpha1/pixelDisplay_pb2.pyi +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/programmablePsu/python/programmablePsu/v1/programmablePsu_pb2.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/programmablePsu/python/programmablePsu/v1/programmablePsu_pb2.pyi +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/ssm/python/ssm/v1/ssm_pb2.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/ssm/python/ssm/v1/ssm_pb2.pyi +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/templateInterface/python/templateInterface/v1alpha1/templateInterface_pb2.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/templateInterface/python/templateInterface/v1alpha1/templateInterface_pb2.pyi +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/tracelet/python/v1/tracelet_pb2.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/api/tracelet/python/v1/tracelet_pb2.pyi +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/base/__init__.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/base/logging.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/binaryiotypea/__init__.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/binaryiotypea/client.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/binaryiotypeb/__init__.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/binaryiotypeb/client.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/binaryiotypec/__init__.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/binaryiotypec/client.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/binaryiotyped/__init__.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/binaryiotyped/client.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/bitbussniffer/__init__.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/bitbussniffer/client.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/canl2/__init__.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/canl2/client.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/colorLED/__init__.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/colorLED/client.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/core/__init__.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/core/coreclient.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/core/protobufcom/__init__.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/core/protobufcom/pbcoreclient.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/core/types/__init__.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/digiwave/__init__.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/digiwave/client.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/eeprom/__init__.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/eeprom/eeprom.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/functionblock/__init__.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/mvbsniffer/__init__.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/mvbsniffer/client.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/pixelDisplay/__init__.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/pixelDisplay/client.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/py.typed +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/ssm/__init__.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/ssm/client.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/util/__init__.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/util/any.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client/util/exceptions.py +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client.egg-info/dependency_links.txt +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client.egg-info/requires.txt +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/io4edge_client.egg-info/top_level.txt +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/pyproject.toml +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/requirements.txt +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/setup.cfg +0 -0
- {io4edge_client-2.6.3.dev0 → io4edge_client-2.6.5}/tests/test_base.py +0 -0
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
# SPDX-License-Identifier: Apache-2.0
|
|
2
|
+
|
|
3
|
+
from pathlib import Path
|
|
4
|
+
import re
|
|
5
|
+
import subprocess
|
|
6
|
+
|
|
7
|
+
# Import all client classes with descriptive names
|
|
8
|
+
from .analogintypea import Client as AnalogInTypeAClient
|
|
9
|
+
from .analogintypeb import Client as AnalogInTypeBClient
|
|
10
|
+
from .binaryiotypea import Client as BinaryIoTypeAClient
|
|
11
|
+
from .binaryiotypeb import Client as BinaryIoTypeBClient
|
|
12
|
+
from .binaryiotypec import Client as BinaryIoTypeCClient
|
|
13
|
+
from .binaryiotyped import Client as BinaryIoTypeDClient
|
|
14
|
+
from .bitbussniffer import Client as BitbusSnifferClient
|
|
15
|
+
from .canl2 import Client as CanL2Client
|
|
16
|
+
from .colorLED import Client as ColorLEDClient
|
|
17
|
+
from .digiwave import Client as DigiwaveClient
|
|
18
|
+
from .eeprom import Client as EepromClient
|
|
19
|
+
from .mvbsniffer import Client as MvbSnifferClient
|
|
20
|
+
from .pixelDisplay import Client as PixelDisplayClient
|
|
21
|
+
from .ssm import Client as SsmClient
|
|
22
|
+
# from .watchdog import Client as WatchdogClient
|
|
23
|
+
|
|
24
|
+
# Import core clients
|
|
25
|
+
from .core import CoreClient
|
|
26
|
+
from .functionblock import Client as FunctionblockClient
|
|
27
|
+
|
|
28
|
+
# This create _version.py file if it doesn't exist,
|
|
29
|
+
# using git describe to generate version information
|
|
30
|
+
# Use when running from source, but will be ignored when installed via pip (since _version.py is in .gitignore)
|
|
31
|
+
def _version_tuple_from_git() -> tuple:
|
|
32
|
+
package_dir = Path(__file__).resolve().parent
|
|
33
|
+
repo_dir = package_dir.parent
|
|
34
|
+
|
|
35
|
+
try:
|
|
36
|
+
describe = subprocess.run(
|
|
37
|
+
["git", "describe", "--tags", "--long", "--dirty", "--always"],
|
|
38
|
+
cwd=repo_dir,
|
|
39
|
+
check=True,
|
|
40
|
+
capture_output=True,
|
|
41
|
+
text=True,
|
|
42
|
+
).stdout.strip()
|
|
43
|
+
except (OSError, subprocess.CalledProcessError):
|
|
44
|
+
return (0, 0, 0, "dev0")
|
|
45
|
+
|
|
46
|
+
match = re.match(r"^v?(\d+)\.(\d+)\.(\d+)-(\d+)-g[0-9a-f]+(?:-dirty)?$", describe)
|
|
47
|
+
if not match:
|
|
48
|
+
return (0, 0, 0, "dev0")
|
|
49
|
+
|
|
50
|
+
major, minor, patch, distance = (int(part) for part in match.groups())
|
|
51
|
+
if distance == 0 and not describe.endswith("-dirty"):
|
|
52
|
+
return (major, minor, patch)
|
|
53
|
+
|
|
54
|
+
return (major, minor, patch + 1, f"dev{distance}")
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
def _ensure_version_file() -> None:
|
|
58
|
+
version_path = Path(__file__).resolve().with_name("_version.py")
|
|
59
|
+
if version_path.exists():
|
|
60
|
+
return
|
|
61
|
+
|
|
62
|
+
generated_version = _version_tuple_from_git()
|
|
63
|
+
version_path.write_text(
|
|
64
|
+
"# SPDX-License-Identifier: Apache-2.0\n"
|
|
65
|
+
f"version = {generated_version!r}\n"
|
|
66
|
+
'VERSION = ".".join(str(x) for x in version)\n',
|
|
67
|
+
encoding="utf-8",
|
|
68
|
+
)
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
# Version information
|
|
72
|
+
_ensure_version_file()
|
|
73
|
+
from ._version import version, VERSION
|
|
74
|
+
|
|
75
|
+
__all__ = [
|
|
76
|
+
# Device-specific clients
|
|
77
|
+
"AnalogInTypeAClient",
|
|
78
|
+
"AnalogInTypeBClient",
|
|
79
|
+
"BinaryIoTypeAClient",
|
|
80
|
+
"BinaryIoTypeBClient",
|
|
81
|
+
"BinaryIoTypeCClient",
|
|
82
|
+
"BinaryIoTypeDClient",
|
|
83
|
+
"BitbusSnifferClient",
|
|
84
|
+
"CanL2Client",
|
|
85
|
+
"ColorLEDClient",
|
|
86
|
+
"DigiwaveClient",
|
|
87
|
+
"EepromClient",
|
|
88
|
+
"MvbSnifferClient",
|
|
89
|
+
"PixelDisplayClient",
|
|
90
|
+
"SsmClient",
|
|
91
|
+
|
|
92
|
+
# Core clients
|
|
93
|
+
"CoreClient",
|
|
94
|
+
"FunctionblockClient",
|
|
95
|
+
|
|
96
|
+
# Version
|
|
97
|
+
"version",
|
|
98
|
+
"VERSION"
|
|
99
|
+
]
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
|
|
2
|
+
// README at: https://github.com/devcontainers/templates/tree/main/src/universal
|
|
3
|
+
{
|
|
4
|
+
"name": "Protobuf Dev Container",
|
|
5
|
+
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
|
|
6
|
+
// based on Ubuntu 24.04.3
|
|
7
|
+
"image": "mcr.microsoft.com/devcontainers/base:ubuntu-24.04",
|
|
8
|
+
"features": {
|
|
9
|
+
"ghcr.io/devcontainers/features/python:1": {},
|
|
10
|
+
"ghcr.io/devcontainers/features/go:1": {
|
|
11
|
+
"version": "1.25.1"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
|
15
|
+
// "forwardPorts": [],
|
|
16
|
+
|
|
17
|
+
// Use 'postCreateCommand' to run commands after the container is created.
|
|
18
|
+
"postCreateCommand": "./install_tools_ubuntu.sh",
|
|
19
|
+
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
|
|
20
|
+
// "remoteUser": "root"
|
|
21
|
+
"customizations": {
|
|
22
|
+
"vscode": {
|
|
23
|
+
"extensions": [
|
|
24
|
+
"zxh404.vscode-proto3",
|
|
25
|
+
"twxs.cmake",
|
|
26
|
+
"github.copilot",
|
|
27
|
+
"golang.go"
|
|
28
|
+
]
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
name: generate code
|
|
2
|
+
on:
|
|
3
|
+
push:
|
|
4
|
+
branches: [ main, ci ]
|
|
5
|
+
|
|
6
|
+
permissions:
|
|
7
|
+
contents: write # allow pushing back to the repo
|
|
8
|
+
|
|
9
|
+
jobs:
|
|
10
|
+
generate:
|
|
11
|
+
env:
|
|
12
|
+
GO_VERSION: '1.25.1'
|
|
13
|
+
runs-on: ubuntu-24.04
|
|
14
|
+
|
|
15
|
+
steps:
|
|
16
|
+
- uses: actions/checkout@v4
|
|
17
|
+
with:
|
|
18
|
+
fetch-depth: 0
|
|
19
|
+
|
|
20
|
+
- uses: actions/setup-go@v5
|
|
21
|
+
with:
|
|
22
|
+
go-version: ${{ env.GO_VERSION }}
|
|
23
|
+
|
|
24
|
+
- name: install tools
|
|
25
|
+
run: ./install_tools_ubuntu.sh
|
|
26
|
+
|
|
27
|
+
- name: generate code
|
|
28
|
+
run: make clean && make build
|
|
29
|
+
|
|
30
|
+
- name: push generated code
|
|
31
|
+
run: |
|
|
32
|
+
if [[ -n "$(git status --porcelain)" ]]; then
|
|
33
|
+
git config --local user.email "actions@github.com"
|
|
34
|
+
git config --local user.name "GitHub Actions"
|
|
35
|
+
git add --all
|
|
36
|
+
git commit -m 'ci: Generate code from protobuf files'
|
|
37
|
+
git push
|
|
38
|
+
else
|
|
39
|
+
echo "No changes to commit"
|
|
40
|
+
fi
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# See https://pre-commit.com for more information
|
|
2
|
+
# See https://pre-commit.com/hooks.html for more hooks
|
|
3
|
+
|
|
4
|
+
repos:
|
|
5
|
+
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
6
|
+
rev: v3.4.0
|
|
7
|
+
hooks:
|
|
8
|
+
- id: trailing-whitespace
|
|
9
|
+
# note: whitespace exclusions use multiline regex, see https://pre-commit.com/#regular-expressions
|
|
10
|
+
# items are:
|
|
11
|
+
# 1 - some file extensions
|
|
12
|
+
# 2 - any file matching *test*/*expected* (for host tests, if possible use this naming pattern always)
|
|
13
|
+
# 3 - any directory named 'testdata'
|
|
14
|
+
# 4 - IDF monitor test data
|
|
15
|
+
exclude: &whitespace_excludes |
|
|
16
|
+
(?x)^(
|
|
17
|
+
.+\.(md|rst|map|bin|py)|
|
|
18
|
+
.+test.*\/.*expected.*|
|
|
19
|
+
.+\/testdata\/.+|
|
|
20
|
+
.+test_idf_monitor\/tests\/.+
|
|
21
|
+
)$
|
|
22
|
+
- id: end-of-file-fixer
|
|
23
|
+
exclude: *whitespace_excludes
|
|
24
|
+
- id: check-executables-have-shebangs
|
|
25
|
+
- id: mixed-line-ending
|
|
26
|
+
args: ["-f=lf"]
|
|
27
|
+
- id: double-quote-string-fixer
|
|
28
|
+
exclude: *whitespace_excludes
|
|
29
|
+
- repo: https://github.com/pocc/pre-commit-hooks
|
|
30
|
+
rev: 093614db90b54cca053c04de00128d70c638b4c2
|
|
31
|
+
hooks:
|
|
32
|
+
- id: clang-format
|
|
33
|
+
exclude: ^(?x).+\.pb-c\.[ch]
|
|
34
|
+
args: ["--style=file", "-i"]
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2020 Ci4Rail
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# io4edge_api
|
|
2
|
+
|
|
3
|
+
This repository contain all proto files for communicate with io4edge modules.
|
|
4
|
+
|
|
5
|
+
## How to build
|
|
6
|
+
|
|
7
|
+
Run this repo from a vscode devcontainer. (CTRL+SHIFT+P -> Remote-Containers: Open Folder in Container, or clone the repo in the devcontainer)
|
|
8
|
+
|
|
9
|
+
Run `make` to generate all the files.
|
|
10
|
+
|
|
11
|
+
Currently implemented:
|
|
12
|
+
- golang
|
|
13
|
+
- protobuf-c
|
|
14
|
+
- python
|
|
15
|
+
|
|
16
|
+
# CI
|
|
17
|
+
|
|
18
|
+
When you push to main, the CI will build the go/python/protobuf-c files and check if the files are up to date. If not, the CI will push the changes to the main branch.
|