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.5.tar.gz (32.0 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.5-py3-none-any.whl (33.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: udi_interface-3.4.5.tar.gz
  • Upload date:
  • Size: 32.0 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.5.tar.gz
Algorithm Hash digest
SHA256 6d85feb818379211ad63065fac9237b5d211a3e6feab56dde8f287e7e656b8e9
MD5 b7c8e51581233befee92efdd81548c7a
BLAKE2b-256 25f45aed810da6a6defa5c83b4324cb09a43244d0fb02054c6d4c8ec3ad71268

See more details on using hashes here.

File details

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

File metadata

  • Download URL: udi_interface-3.4.5-py3-none-any.whl
  • Upload date:
  • Size: 33.8 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 dc731fc3e5a0a93af2ce3d6eb0a8b696bf7395966a6e692af7a1d8c070b2429f
MD5 7aa8fee26d7291a9f461e1bfc620b749
BLAKE2b-256 52266d0993bdc555c7c2f0f8f8dd10c2aec062981dc42ece77846146e45ef06c

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