Skip to main content

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:

  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 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


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.1.tar.gz (95.8 kB view details)

Uploaded Source

File details

Details for the file metiot-0.1.1.tar.gz.

File metadata

  • Download URL: metiot-0.1.1.tar.gz
  • Upload date:
  • Size: 95.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for metiot-0.1.1.tar.gz
Algorithm Hash digest
SHA256 2a7645c07c06bdfd9104f671327291f8c3dfb26f3821213366da5cc121d89659
MD5 33818689a05028c5018c69f58e69ea35
BLAKE2b-256 abbe8956aa64c36f270527fb35d54a007e38b23c6f03cfd49022bed8e90d2e97

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