Communication handling for all MeT IOT devices
Project description
MeT IOT Communication
How To Use
Importing the Library
Use pip to install the library
pip install MeTIOT
[!NOTE] This library is not pre-compiled. You must have installed on your system (Other version may work but are official unsupported):
- GCC >= 15.2.1
- CMake >= 3.10
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 (Manual. For Testing)
Linux based systems:
- Create and navigate into build directory
mkdir build
cd build
- Compile library using CMake
cmake ..
cmake --build . --config Release
- Export path to python
export PYTHONPATH=./src/python_bindings:$PYTHONPATH
- Now you can use the library. If you first want to test it you can try
python3
import MeTIOT
client = MeTIOT.DeviceClient("0.0.0.0", 12345)
type(client)
client.connect()
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
metiot-0.1.2.tar.gz
(97.1 kB
view details)
File details
Details for the file metiot-0.1.2.tar.gz.
File metadata
- Download URL: metiot-0.1.2.tar.gz
- Upload date:
- Size: 97.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f6e3d2404160a0d55827648655c292e164e1bfe80987eec7ec86ecde54bd02f9
|
|
| MD5 |
f1daf34e1c5ee40b76ed76b16ce8b6e3
|
|
| BLAKE2b-256 |
8aeceee8af1e2f62b681196e043cecbb982d94c42f58599e60376ac4ddc452ad
|