Skip to main content

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

  1. Install by: pip install AIH_SDK
  2. Initialize AIHClient by: AIH_SDK.AIHClient.AIHClient(environment_to_connect_to, client_id, client_secret)
  3. Get objects from v1 and v2 APIs. Example of getting a main system: mainsystem = AIH_SDK.v2.MainSystem.MainSystem().get(guid)
  4. 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


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

Uploaded Source

Built Distribution

ZEVIT_AIH_SDK-0.1.3-py3-none-any.whl (20.2 kB view details)

Uploaded Python 3

File details

Details for the file ZEVIT_AIH_SDK-0.1.3.tar.gz.

File metadata

  • Download URL: ZEVIT_AIH_SDK-0.1.3.tar.gz
  • Upload date:
  • Size: 11.1 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

Hashes for ZEVIT_AIH_SDK-0.1.3.tar.gz
Algorithm Hash digest
SHA256 78362bb4154e3388313a709052281f64c7463cd8b5cc7b85f265315d6b027e40
MD5 0b608691988f53be28cc8b8e01c6f237
BLAKE2b-256 1ff928e5cb963660973c3bffb3494d7ddefb4a81b1896b74137adc0fb2e8cd4f

See more details on using hashes here.

File details

Details for the file ZEVIT_AIH_SDK-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: ZEVIT_AIH_SDK-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 20.2 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

Hashes for ZEVIT_AIH_SDK-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e5d73b56a2d4c0c499f3fee7165abb789b0648a18247e520b40ed7f88fc93587
MD5 ea67b6a5d844a9f4d01dd029dd9e3968
BLAKE2b-256 5ffb6920b872f589e6ffac325f9b249dece215b354158137cda2d2d74e4ad6a4

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