This release is a pre-release and may not be stable for production use.
Palo Alto Networks Prisma SASE Python SDK v6.8.1b1
Python3 SDK for the Prisma SASE AppFabric
Synopsis
Intended to be a small, lightweight SDK wrapper around the Prisma SASE API for easy use. Initial version requires knowledge of JSON/Dict objects for POST/PUT/PATCH operations.
Requirements
- Active Prisma SASE Account
- Python >= 3.7
- Python modules:
- Requests - http://docs.python-requests.org/en/master/
- Websockets >= 8.1 - https://websockets.readthedocs.io/en/stable/index.html
- urllib3 >= 2.0.0 - https://urllib3.readthedocs.io/en/stable/
Code Example
Comes with example.py that shows usage to get a JSON list of sites.
Super-simplified example code (rewrite of example.py in ~4 lines of code):
# Import the Prisma SASE SDK API constructor and JSON response pretty printer
from prisma_sase import API, jd
# Instantiate the Prisma SASEx API constructor
sdk = API()
# Call Prisma SASE API login using the Interactive helpers (Handle SAML2.0 login and MSP functions too!).
sdk.interactive.login_secret(client_id='api_user1@1111111111.iam.panserviceaccount.com',
client_secret='xxxxxx',
tsg_id=1111111111)
# Print a dump of the list of sites for your selected account
jd(sdk.get.sites())
License
MIT
Version
| Version | Build | Changes |
|---|---|---|
| 6.8.1 | b1 | Support for July 2026 Controller release. |
| 6.6.2 | b1 | Support for February 2026 Controller release. |
| 6.6.1 | b1 | Support for October 2025 Controller release. |
| 6.5.2 | b2 | Support for February 2025 Controller release with bugfixes. |
| 6.5.2 | b1 | Support for February 2025 Controller release. |
| 6.5.1 | b1 | Support for November 2024 Controller release. |
| 6.4.2 | b1 | Support for August 2024 Controller release. |
| 6.4.1 | b1 | Support for March 2024 Controller release. |
| 6.3.2 | b1 | Support for February 2024 Controller release. |
| 6.3.1 | b1 | Support for November 2023 Controller release. |
| 6.2.3 | b1 | Support for August 2023 Controller release. |
| 6.2.2 | b1 | Support for June 2023 Controller release. |
| 6.2.1 | b1 | Support for April 2023 Controller release. |
| 6.1.2 | b1 | Support for January 2023 Controller release. |
| 6.1.1 | b1 | Support for November 2022 Controller release. |
| 6.0.1 | b1 | Support for May 2022 Controller release. |
For more info
- Get help and additional Prisma SASE Documentation at https://pan.dev/sase/docs
- View the autogenerated documentation in the
docs/directory, or at https://paloaltonetworks.github.io/prisma-sase-sdk-python/. - View in-python help using
help()functions. (example:help(sdk.get.login))
Metadata
Release files for prisma-sase 6.8.1b1
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 |
|---|---|---|---|---|
| prisma_sase-6.8.1b1.tar.gz | 135.0 kB | Without provenance | Details for prisma_sase-6.8.1b1.tar.gz |
Release files / prisma_sase-6.8.1b1.tar.gz
| Download URL | prisma_sase-6.8.1b1.tar.gz |
|---|---|
| Size | 135.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7cead62aeab700827eae07b3ea1ec9c4b834d5fbf5f10fc1bca6bf59186548f0
|
|
BLAKE2b-256 checksum How to use checksums |
cf5a154cb460c7b82238dc963b05408901b5fd2ca52384a91537451ba27785d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/6.7.0 pkginfo/1.10.0 requests/2.31.0 requests-toolbelt/1.0.0 tqdm/4.68.2 CPython/3.7.12
|
Security for prisma-sase 6.8.1b1
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.