Python APIs for ZE Web Services
Project description
ZE Python Client
The ZE Python Client provides a unified module - ZemaClient for retrieving data from ZEMA web services.
Prerequisites
Python 3.5 or above and the following packages
- requests
- lxml
- pandas
- zeep
- dicttoxml
The packages will be automatically installed during the installation.
Installation
pip install zeclient
Usage
from zeclient.zema_client import ZemaClient
# ZEMA Data Direct server URL
datadirect_url = "http://host.company.com/datadirect";
# Create ZEMA client instance and start a session using using username and password
client = ZemaClient(datadirect_url, 'user.name', 'password', 'Client')
or
# Create ZEMA client instance using ZEMA API token or OAuth ID token
client = ZemaClient(datadirect_url, token)
ZEMA API Token is created or renewed from DataDirect. Please refer to API Token Generation Guidelines in ZEMA Data Direct Web Services documentation.
# Get profile data
result = client.get_profile('user.name', 'profile group', 'profile name')
Support
Please report bugs to support@ze.com
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
zeclient-1.1.8.tar.gz
(26.6 kB
view details)
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
zeclient-1.1.8-py3-none-any.whl
(23.2 kB
view details)
File details
Details for the file zeclient-1.1.8.tar.gz.
File metadata
- Download URL: zeclient-1.1.8.tar.gz
- Upload date:
- Size: 26.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
92f11514492f401f57d1ed10be5ef037490058ba22a459047e1a02d163dab07e
|
|
| MD5 |
173fe9ca736a3faaa7230097a684c90a
|
|
| BLAKE2b-256 |
b42a84f867391533c76ac2a7bb73eeed7483f37f6313be5c543fe4ac99a63a49
|
File details
Details for the file zeclient-1.1.8-py3-none-any.whl.
File metadata
- Download URL: zeclient-1.1.8-py3-none-any.whl
- Upload date:
- Size: 23.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0f2f26d619aa2296ce7e7e7da1ad94f3df502a5edba515d0bb20e19fbac2eb18
|
|
| MD5 |
be0a79582726c5796cf1b3ac737504e0
|
|
| BLAKE2b-256 |
16530244dda2988eb33a35bb9d4a4f519d848c08c18d2e2b15447b4275fdd3bb
|