Skip to main content

Communication handling for all MeT IOT devices

Project description

MeT IOT Communication

Useful Links

Changelog v0.1.6

  • Add automated wheel building

Known issues

  • Exit Signal (SIGABRT/SIGSEGV): Upon exiting the Python interpreter, a free(): invalid pointer error may occur.
    • Reason: This is a known teardown conflict between the Python Garbage Collector and the C++ Runtime (libstdc++). It occurs after all user code has executed.
    • Impact: None. This does not affect data transmission or device logic during the program's lifecycle.

How To Use

Importing the Library

Use pip to install the library

pip install MeTIOT

Programming with the Library

Testing the library imported successfully

You can use this code to test you can successfully import the library into your code.

import MeTIOT

client = MeTIOT.DeviceClient("0.0.0.0", 12345)

print(type(client))
print("MeTIOT import successful!")

Using the library

For further information on how to use this library refer to the PYTHON_LIB_GUIDE.md document.

How to compile and use from this repository

Linux based systems:

  1. Clone the repository
git clone https://github.com/Microelectronic-Technologies/MeTIOTCommunication.git
  1. Navigate into repository
cd MeTIOTCommunication/
  1. Create and navigate into build directory
mkdir build
cd build
  1. Compile library using CMake
cmake ..
cmake --build . --config Release
  1. Export path to python
export PYTHONPATH=./src/python_bindings:$PYTHONPATH
  1. Now you can use and import the library in your current directory
  2. (optional) Test the library is python
python3
import MeTIOT
client = MeTIOT.DeviceClient("0.0.0.0", 12345)
type(client)

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

metiot-0.1.6-cp313-cp313-manylinux_2_34_x86_64.whl (152.3 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.34+ x86-64

metiot-0.1.6-cp313-cp313-manylinux_2_34_aarch64.whl (135.3 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.34+ ARM64

metiot-0.1.6-cp312-cp312-manylinux_2_34_x86_64.whl (151.9 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ x86-64

metiot-0.1.6-cp312-cp312-manylinux_2_34_aarch64.whl (134.4 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ ARM64

File details

Details for the file metiot-0.1.6-cp313-cp313-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for metiot-0.1.6-cp313-cp313-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 da1400aa910913b87e5cf658d25817b5ed61a1e8c04dd5f37baf3a21aa0fcf77
MD5 74a99892153a7296666b326aec3e847a
BLAKE2b-256 72f01ac2b101cb77b97a24736833522cffb246fdd4735b66b0c86b471b1ec6f6

See more details on using hashes here.

Provenance

The following attestation bundles were made for metiot-0.1.6-cp313-cp313-manylinux_2_34_x86_64.whl:

Publisher: build_wheels.yml on Microelectronic-Technologies/MeTIOTCommunication

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file metiot-0.1.6-cp313-cp313-manylinux_2_34_aarch64.whl.

File metadata

File hashes

Hashes for metiot-0.1.6-cp313-cp313-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 37ff581b470cd2b59e2df562ae12b72c12fde60d7eb19cf527c1327e3e237b3e
MD5 fd001dd490c3a05912cc191b3dc92390
BLAKE2b-256 8c9b509f6650837736f9b12311e421a7cba62b3deed6d4233a181c5d00c86142

See more details on using hashes here.

Provenance

The following attestation bundles were made for metiot-0.1.6-cp313-cp313-manylinux_2_34_aarch64.whl:

Publisher: build_wheels.yml on Microelectronic-Technologies/MeTIOTCommunication

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file metiot-0.1.6-cp312-cp312-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for metiot-0.1.6-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 887d4b01f1717fb91bb30ac411f543027c2bb172c255dd28b7e93a66ab8dcf8e
MD5 8ddffad5880632cb34e04f02308aecad
BLAKE2b-256 9e494bd449d772e59130003f04701fc7c068cfea743462c93736f65da99ceabc

See more details on using hashes here.

Provenance

The following attestation bundles were made for metiot-0.1.6-cp312-cp312-manylinux_2_34_x86_64.whl:

Publisher: build_wheels.yml on Microelectronic-Technologies/MeTIOTCommunication

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file metiot-0.1.6-cp312-cp312-manylinux_2_34_aarch64.whl.

File metadata

File hashes

Hashes for metiot-0.1.6-cp312-cp312-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 539ba600fe76ffdac64b6a2623c3c3d056cf055d5d15f991d78b8e9690a47822
MD5 8b1a12bcf7f30ab10e9a95f8037eb3e9
BLAKE2b-256 03707f56eeebc1366787f44caeb646276c906a939876d33d29d4d94662f99186

See more details on using hashes here.

Provenance

The following attestation bundles were made for metiot-0.1.6-cp312-cp312-manylinux_2_34_aarch64.whl:

Publisher: build_wheels.yml on Microelectronic-Technologies/MeTIOTCommunication

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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