Python SDK for BPCS Conduit data virtualization tool
Project description
Introduction
This is a Python SDK to abstract the REST endpoints for the Blueprint Conduit product.
Installation
NOTE: These steps aren't for Windows, but works for POSIX systems. Use whatever Windows uses in place of these instructions.
-
Python3 is a prerequisite
-
Start in a new directory, go to it:
mkdir conduit-sdk && cd conduit-sdk
- Install a virtualenv.
python3 -m venv .venv
- Go into the virtualenv.
. .venv/bin/activate
- Install bpcs-conduit
pip install bpcs-conduit
- Save this to a file called
test.py:
from conduit_pkg.client import getDatabases
dbs = getDatabases()
for db in dbs:
print(db)
- Execute with the CONDUIT_TOKEN, CONDUIT_SERVER
CONDUIT_SERVER=<server name> CONDUIT_TOKEN=<your token> python test.py
You should get something similar as output:
Database: file_blob
Database: redshift_redshift
Database: es_elasticsearch
Database: awss3_s3
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bpcs-conduit-0.0.9.tar.gz.
File metadata
- Download URL: bpcs-conduit-0.0.9.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.0 importlib_metadata/3.7.3 packaging/20.9 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a4f13dea34123ad1b8e203983121f02d18f6062b507331ce96da98a684877258
|
|
| MD5 |
1ef9a15f5a3650d0fbf20ee3d88ad3df
|
|
| BLAKE2b-256 |
6bdfd71018d3c3f3c991fa36d64c377949a5c7bcadcd63dca0859c57cb7e2e8b
|
File details
Details for the file bpcs_conduit-0.0.9-py3-none-any.whl.
File metadata
- Download URL: bpcs_conduit-0.0.9-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.0 importlib_metadata/3.7.3 packaging/20.9 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c6db52f775d6b1e3a53e53b712afbaa865d635e52449d986c4155dc118243d2
|
|
| MD5 |
833168915733cd9eafba046710d59039
|
|
| BLAKE2b-256 |
fb4015f34d9ade90513f52de3ca7126fbdfb3a72ad91a27361c3d126741ced36
|