A package to work with Infoworks via SDK
Project description
Infoworks Python SDK
The Infoworks SDK helps users to jump start using Infoworks V3 RestAPIs using python client.
It includes pre-defined set of functions performing various actions
Documentation
https://abhr1994.github.io/infoworks_sdk/
Installation
You don't need this source code unless you want to modify the package. If you just want to use the package, just run:
pip install infoworkssdk
Requirements
Python 3.4+ (PyPy supported)
Usage
The library needs to be configured with your user's refresh token key which is available in your Infoworks UI. Set refresh_token to its value:
from infoworks.sdk.client import InfoworksClientSDK
# You refresh token here
refresh_token = "zThziQ7MoJJPYAha+U/+PBSTZG944F+SHBDs+m/z2qn8+m/ax8Prpzla1MHzQ5EBLzB2Bw8a+Qs9r6En5BEN2DsmUVJ6sKFb2yI2"
# Initialise the client
iwx_client = InfoworksClientSDK()
iwx_client.initialize_client_with_user("http", "10.18.1.28", "3001", refresh_token)
# Create Oracle Source
src_create_response = iwx_client.create_source(source_config={
"name": "iwx_sdk_srcname",
"type": "rdbms",
"sub_type": "oracle",
"data_lake_path": "/iw/sources/iwx_sdk_srcname",
"environment_id": "",
"storage_id": "",
"is_source_ingested": True
})
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 infoworkssdk-1.0.0.tar.gz
.
File metadata
- Download URL: infoworkssdk-1.0.0.tar.gz
- Upload date:
- Size: 45.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 412a6d6773efe97618956a9456a65d977faece70f8601b6fcdbf36568e2191e2 |
|
MD5 | 8e5c007b23ce3dadcc0eb303dc03c886 |
|
BLAKE2b-256 | 5aa2c3f77299e780f1b0fbb901c03111b977b8f5633d7a0d2bffc3148dccc229 |
File details
Details for the file infoworkssdk-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: infoworkssdk-1.0.0-py3-none-any.whl
- Upload date:
- Size: 50.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 439c89ee56e5f5281857bab2b2fb8e1b1aba7b3fa803ac43906e6eb2e86ea874 |
|
MD5 | b4df1784aa088dce6fb512a123555a51 |
|
BLAKE2b-256 | 8b47f0bb5752c4cc77d3c11dc193f56ddb1545e58295e9f7f301652646f64b2b |