Skip to main content

UDI Python Interface for Polyglot version 3

Project description

UDI Python Interface Module for Polyglot version 3

This is the PG3 interface API module that is portable to be imported into your Python 3.11+ based NodeServers.

Installation

Pip > 9 should be installed. This typically isn't the case, so you will have to upgrade Pip first.

# Check your pip version
pip -V
pip 9.0.1 from /home/e42/.local/lib/python2.7/site-packages (python 2.7)
pip3 -V
pip 9.0.1 from /usr/lib/python3/dist-packages (python 3.5)

# If Pip is < Version 9
sudo pip install -U pip

The module is updated in Pypi (Python's package interface Pip) on a regular basis. So simply install the module like you would any Python module:

# Install the UDI interface
pip install udi_interface --user

Starting your NodeServer build

When you start building a NodeServer you are helping build the free and open Internet of Things. Thank you! If you run in to any issues please ask your questions on the UDI Polyglot Forums.

To get started, use the python template.

From there just read the code itself, it is fully explained step by step.

Controlling logging

By default when the Polyglot Python Interface is started up the logging is in WARNING mode. If you want to change the level set logLevel: in your server.json file. Valid levels are:

CRITICAL ERROR WARNING INFO DEBUG

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

udi_interface-3.4.6.tar.gz (32.2 kB view details)

Uploaded Source

Built Distribution

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

udi_interface-3.4.6-py3-none-any.whl (33.9 kB view details)

Uploaded Python 3

File details

Details for the file udi_interface-3.4.6.tar.gz.

File metadata

  • Download URL: udi_interface-3.4.6.tar.gz
  • Upload date:
  • Size: 32.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for udi_interface-3.4.6.tar.gz
Algorithm Hash digest
SHA256 5dd3b82217b4f819fddf9e28e613f1768faa3bd4f9794fea1cc920d2beb7d9e9
MD5 8a443a325484f59305adea25866c9d07
BLAKE2b-256 e12847be56dcdc9352e0549d186f04eb44f68163e95d26485efd92f6dff085dd

See more details on using hashes here.

File details

Details for the file udi_interface-3.4.6-py3-none-any.whl.

File metadata

  • Download URL: udi_interface-3.4.6-py3-none-any.whl
  • Upload date:
  • Size: 33.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for udi_interface-3.4.6-py3-none-any.whl
Algorithm Hash digest
SHA256 0e124d43e3d3a873cd696a1866926cbce074ef6167a00f17b36125d1fbfde602
MD5 731249a1a40fb9ab3205b9d9aed1e621
BLAKE2b-256 1af0280bb89cc9e3315bb820b46a0ee51706fdf82b2300979552851201d0eb9f

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