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
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
Built Distribution
File details
Details for the file intelligent_plant-1.5.0.tar.gz
.
File metadata
- Download URL: intelligent_plant-1.5.0.tar.gz
- Upload date:
- Size: 9.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7fae6a2a73d6a028a33becd9c393150497aa38a6d2e6a91ffa70a406eed80fd6 |
|
MD5 | 58b6be5fa0e846dd9e4f125dc993ff43 |
|
BLAKE2b-256 | ea06e9a317a4c1566254417d3c2643682c662b8c8aef8660856724ab2adf7e46 |
File details
Details for the file intelligent_plant-1.5.0-py3-none-any.whl
.
File metadata
- Download URL: intelligent_plant-1.5.0-py3-none-any.whl
- Upload date:
- Size: 10.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9c89f82885003882aadd65689d1e92ba7057490e0866595890c3177096369b1 |
|
MD5 | 6d97a5631fa2463b7a60dcf3ecb09238 |
|
BLAKE2b-256 | 906fd9dc778f4157e63fa09a10a5d72424be7fc35156d02931880696979f39ad |