ECMind blue client
A client wrapper for blue.
Installation
pip install ecmind_blue_client
Usage
The workflow consists roughly of the following:
- Create a new Client() connection using a client implementation. There are four implementations:
SoapClient()in the moduleecmind_blue_client.soap_client: Connect with a SOAP connection stringComClient()in the moduleecmind_blue_client.com_client: Connect by using the COM class on WindowsTcpClient()in the moduleecmind_blue_client.tcp_client: Directly talk to a server via protlib.- Use
TcpClient.Connection()in a with block/context.
- Use
TcpPoolClient()in the moduleecmind_blue_client.tcp_pool_client
- Create a new Job() with a job name and provide/add job input parameters and optional job input file parameters
- Execute the Job() with the Client() instance and consume the result
result.result_codereturns the blue result coderesult.valuesis a dict of output parametersresult.filesis a list of output file parametersresult.error_messagesis a string of the servers error response or None ifresult_code== 0
>>> from ecmind_blue_client.soap_client import SoapClient
>>> client = SoapClient(self.endpoint, 'TestApp', 'root', 'optimal')
>>> test_job = Job('krn.GetServerInfo', Flags=0, Info=6)
>>> result = client.execute(test_job)
>>> print(result.values['Value'])
oxtrodbc.dll
Metadata
Release files for ecmind-blue-client 0.5.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ecmind_blue_client-0.5.1.tar.gz | 31.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ecmind_blue_client-0.5.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 70.1 kB
Release files / ecmind_blue_client-0.5.1.tar.gz
| Download URL | ecmind_blue_client-0.5.1.tar.gz |
|---|---|
| Size | 31.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
355d82fd324e36592682284ea862451996f0bab763eb3167bfd00c1f46f6424b
|
|
BLAKE2b-256 checksum How to use checksums |
784a0e32ba38263ac9d3b2029cb937f598e922ea824bf273f68da586ec1535e5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.8.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.4
|
Release files / ecmind_blue_client-0.5.1-py3-none-any.whl
| Download URL | ecmind_blue_client-0.5.1-py3-none-any.whl |
|---|---|
| Size | 39.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fda28766967ed3185accbbd41d015aa9c1bd6d8888b940ebea57571ddcbf8e12
|
|
BLAKE2b-256 checksum How to use checksums |
b1f68fd539afd013a55881bc6388be3da6f3812dfeec5ab17e5c26f853e1a1ab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.8.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.4
|