Python SDK to connect with ZEVIT Asset Integrity Hub
Project description
Introduction
This project makes it possible to easily interact with the objects in AIH's Asset Integrity Hub.
Project is divided structured as follows:
AIH_SDK
├── AIHClient
├── v1
│ ├── Annotation
│ ├── Assessment
│ ├── Deviation
│ ├── Media
│ ├── MediaReference
│ ├── PanoramaImage
│ ├── PanoramicTour
│ └── WorkorderItem
├── v2
│ ├── Assets
│ │ ├── Equipment
│ │ └── MainSystem
│ ├── DataProcessing
│ │ ├── Job
│ │ └── JobConfiguration
│ └── DataUpload
│ │ ├── DataType
│ │ └── File
Getting Started
- Install by: pip install AIH_SDK
- Initialize AIHClient by: AIH_SDK.AIHClient.AIHClient(environment_to_connect_to, client_id, client_secret)
- Get objects from v1 and v2 APIs. Example of getting a main system: mainsystem = AIH_SDK.v2.MainSystem.MainSystem().get(guid)
- objects supports CRUD operation in form of get, post, put, and delete.
Object design
Objects store the information fetch from the APIs in the self.value
self.value can either be a dict containing one instance or be a list containing multiple dicts, representing multiple objects
Objects all contain following methods:
- get()
- put()
- post()
- delete()
- get_value()
- update_values()
- to_dataframe()
- from_dataframe()
- inner_join()
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
ZEVIT_AIH_SDK-0.1.2.tar.gz
(10.8 kB
view details)
Built Distribution
File details
Details for the file ZEVIT_AIH_SDK-0.1.2.tar.gz
.
File metadata
- Download URL: ZEVIT_AIH_SDK-0.1.2.tar.gz
- Upload date:
- Size: 10.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24a6f17abfba67cc06fb5ed17873833f84359fe65bc1f7bfcbe1ee3d2f1d014c |
|
MD5 | fdc9f502481967cca0a874c6298a6a81 |
|
BLAKE2b-256 | 883e939780ab4adccf93c3257889b9e5f4170cfedd56f1ff697f3e4ed082df3d |
File details
Details for the file ZEVIT_AIH_SDK-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: ZEVIT_AIH_SDK-0.1.2-py3-none-any.whl
- Upload date:
- Size: 20.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0309f4b35f1715e595b6ea745a09d3a1585564a34815234301bb9f1670bb8b89 |
|
MD5 | 0266641f0aa20bae6eb35b4f54f1b56f |
|
BLAKE2b-256 | b362aa909c003a1fea7bd7386d50870ce2c9e667a8f551fa70da366d3f4d5dfa |