Skip to main content

A wrapper for the Intellinget Plant API

Project description

Python App Store API Client

A python implmentation of the Intelligent Plant industrial appstore API client

See the example folder for example on how to use the library for authorization code and implicit OAuth grant flows.

Getting started

Installing using pip

pip install intelligent-plant

Installing from Source

Using pip:

pip install git+https://github.com/intelligentplant/py-app-store-api

Alternatively clone the Git repo:

git clone https://github.com/intelligentplant/py-app-store-api.git

Examples

To install dependencies used by the example scripts run

pip install -r example-requirements.txt

To run the authorization code grant flow example run:

python example\authorization_code_grant_flow.py

To run the authorization code grant flow example with the PKCE extensionrun:

python example\authorization_code_grant_flow_pkce.py

To run the NTLM (windows authentication) example you will need to have a data core node available on the local network. If you have an App Store Connect (https://appstore.intelligentplant.com/Home/DataSources) installed locally you can run the example without modification. If you are trying to authenticate with a data core node you will need to change the base_url variable defined in the script to match the URL of the Data Core admin UI

Run the example using:

python example\ntlm_example.py

To run the implicit grant flow example run:

The implicit grant flow is deprecated and is disabled by default

python example\implicit_grant_flow.py

To use this library as part of a Jupyter Notebook join the Jupyter Hub:

https://appstore.intelligentplant.com/Home/AppProfile?appId=40d7a49722f84be4986318bb5cc98cf3

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

intelligent_plant-1.6.0.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

intelligent_plant-1.6.0-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

Details for the file intelligent_plant-1.6.0.tar.gz.

File metadata

  • Download URL: intelligent_plant-1.6.0.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.4

File hashes

Hashes for intelligent_plant-1.6.0.tar.gz
Algorithm Hash digest
SHA256 727e924024dec79c7153350461fa479c1d91418b2c988c6f08026a99c217782a
MD5 8fed2ed00f077e262fad19c2641433f7
BLAKE2b-256 173a28644a267335c019259cc585c96f49d8407befd1036c25a77249bbf94c6b

See more details on using hashes here.

File details

Details for the file intelligent_plant-1.6.0-py3-none-any.whl.

File metadata

File hashes

Hashes for intelligent_plant-1.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 02f257104bfdba303ca2037888c7e75aed5b924e1fb0f74739bc4508e33b7299
MD5 fb09f0dabca1554ccba6032057a48ccd
BLAKE2b-256 a726418c67508a9e5ae98000132bda2d91cc8e930e29a3141e6edbb7d4743dfa

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