Zscaler Python SDK
This is a Python SDK for Zscaler Internet Access. This client library is designed to support the Zscaler Internet Access (ZIA) API. Now This library does not support Zscaler Private Access (ZPA), but this will be implemented in the future. This SDK has been developed mainly using Python 3.9.0 .
NOTE: This repository is not official. Zscaler does not support this repository.
Preparation
You need a ZIA credentials like below.
- ZIA Admin Username (like
admin@example.com) - ZIA Admin Password
- ZIA Hostname (like
zscaler.net) - ZIA APIKEY (You need to request an api key to Zscaler support team.)
Set profile
If you have verified your credentials, set up your credentials to use this repository. Please replace /Users/utah18 to your arbitrary directory path.
$ mkdir /Users/utah18/.zscaler && cat > /Users/utah18/.zscaler/config.ini <<EOF
[zia]
USERNAME=example@example.com
PASSWORD=P@ssw0rd
HOSTNAME=zscaler.net
APIKEY=xxxxxxxxxxxxxxxxxxxxxxx
EOF
Clone and Install Repository
In this case, we use poetry. If you don't have this, please install poetry from HERE
$ poetry add zscaler-python-sdk
Quick Start
After installing, you can try below to check if you could use this library.
$ python
$ from zscaler_python_sdk.zia import Zia
$ zia = Zia("/Users/utah18/.zscaler/config.ini")
$print(zia.fetch_admin_users())
... Reporting Issues If you have bugs or other issues specifically pertaining to this library, file them here.
References
Metadata
Release files for zscaler-python-sdk 0.2.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 | Provenance | Actions |
|---|---|---|---|---|
| zscaler-python-sdk-0.2.1.tar.gz | 8.6 kB | Without provenance | Details for zscaler-python-sdk-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| zscaler_python_sdk-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for zscaler_python_sdk-0.2.1-py3-none-any.whl |
Total release size: 19.3 kB
Release files / zscaler-python-sdk-0.2.1.tar.gz
| Download URL | zscaler-python-sdk-0.2.1.tar.gz |
|---|---|
| Size | 8.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c056af2262c0aa06bc15bb472b26484ee20c84b75e8adfde1b051dfae636ea85
|
|
BLAKE2b-256 checksum How to use checksums |
4ccd5840a615d4d7ad205d2b1cf41dace6326a9cd44104d9db73a2c267b4dac5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.8 CPython/3.9.3 Darwin/21.1.0
|
Release files / zscaler_python_sdk-0.2.1-py3-none-any.whl
| Download URL | zscaler_python_sdk-0.2.1-py3-none-any.whl |
|---|---|
| Size | 10.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
517699057c91ba1f96972ded4b62de0db1c3c2d1f1323e267822f624a0f06999
|
|
BLAKE2b-256 checksum How to use checksums |
6852325708845971455e4fe1a237e69b939694aed9feb85239f186c5277b46e3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.8 CPython/3.9.3 Darwin/21.1.0
|
Security for zscaler-python-sdk 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.