Skip to main content

Python Implementation of the Onesait Platform utilities

Project description

Onesait Platform Python Client Services

API documentation

This document describes the source code for the Onesait Platform Python Client Services.

This code provides several client classes which enable applications to connect to a Onesait Platform instance and perform basic CRUD operations.

Before using the client services for the first time, we strongly recommend that you learn the main concepts of the Onesait Platform platform.

It supports Python 3.4+

Installation instructions

In order to use this API, you must have pip installed in your system. The pip website (https://pypi.python.org/pypi/pip) contains detailed installation instructions.

Once pip is installed, you will be able to install the Python clients into your local package repository by running the following commands:

  1. To install from download repository:
pip install .
python setup.py install
  1. To install from pypi:
pip install onesaitplatform-client-services

Compilation and upload to pypi

  1. Build the distribution of the package (/dist). It's necessary to change the version in setup.py:
python setup.py sdist bdist_wheel
  1. Upload to pypi:
python -m twine upload dist/*

Samples usage

IotBrokerClient

An example of IotBrokerClient is available in IotBrokerClient tutorial

FileManager

An example of FileManager is available in FileManager tutorial

MQTTClient

An example of FileManager is available in MqttClient tutorial (deprecated)

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

onesaitplatform_client_services-1.4.12.tar.gz (21.7 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file onesaitplatform_client_services-1.4.12.tar.gz.

File metadata

File hashes

Hashes for onesaitplatform_client_services-1.4.12.tar.gz
Algorithm Hash digest
SHA256 57dd48d0656ad007019159fb552ae7bf580eac2cad8ba2cdb52cb0cef41e0265
MD5 3372eb8dcfb1125c5053dbcf033f7e54
BLAKE2b-256 1a260aca184900ea721c80d2a6f483a6f9b3656f878b4e7baa91ebe595c6885c

See more details on using hashes here.

File details

Details for the file onesaitplatform_client_services-1.4.12-py3-none-any.whl.

File metadata

File hashes

Hashes for onesaitplatform_client_services-1.4.12-py3-none-any.whl
Algorithm Hash digest
SHA256 1c9806768dc21283a0ec9217d80179bdadb34cbb2ac730d607bb6cf20150ade4
MD5 891a89e7dce152ff155de44a2a3b129b
BLAKE2b-256 91a83400e4c03d9e7c641087a55bb2c5386dc0b916b3818164fe0514a5e5235a

See more details on using hashes here.

Supported by

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