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

Uploaded Source

Built Distribution

udi_interface-3.3.14-py3-none-any.whl (30.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: udi_interface-3.3.14.tar.gz
  • Upload date:
  • Size: 28.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for udi_interface-3.3.14.tar.gz
Algorithm Hash digest
SHA256 537b5f4e1128c725b8e9571059e8b85a5d21d28fb1012564dfb75056782b8076
MD5 884bc942dee209bdb595acba5d3f0d54
BLAKE2b-256 833f71b7cd0dd0caa24fbdc85df750514ffa3d879fcbb03e97eed8c73f8128d0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for udi_interface-3.3.14-py3-none-any.whl
Algorithm Hash digest
SHA256 f9f5076136e29109f3b22328d2d144c6a31dc8079318f69f14a49b30487b6eed
MD5 8303b31afdcef98f6e18198abfde1855
BLAKE2b-256 c2e435cc946a5893e6b9d42883910cfee16880dcd9bda8b8d141272f7e5d8bba

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page