prisma-sase
Python3 SDK for the Prisma SASE AppFabric
What it is and what it does
This is a Python SDK for Palo Alto Networks' Prisma SASE platform, designed as a lightweight wrapper around the AppFabric API. It abstracts HTTP communication and authentication (including SAML2.0 and multi-service-provider flows) so developers can interact with Prisma SASE programmatically without building raw API calls. The SDK is maintained by Palo Alto Networks and tracks controller releases closely, with the current version supporting the July 2026 controller release.
The package requires an active Prisma SASE account and knowledge of JSON/dictionary objects for POST/PUT/PATCH operations. It exposes API methods through an object hierarchy (e.g., `sdk.get.sites()`, `sdk.interactive.login_secret()`) and includes a JSON pretty-printer utility. The SDK is production-stable according to its classifier, though the current release is marked as beta (b1).
Use it for:
- Automate Prisma SASE site and network configuration management from Python scripts or applications.
- Build monitoring dashboards that pull real-time data from Prisma SASE AppFabric via programmatic API access.
- Integrate Prisma SASE provisioning into CI/CD pipelines or infrastructure-as-code workflows.
- Develop custom security policy enforcement tools that query and update Prisma SASE rules programmatically.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Lightweight Python SDK wrapper for the Palo Alto Networks Prisma SASE API, enabling programmatic access to AppFabric configuration and management.
Yes, if you have an active Prisma SASE account and need programmatic access to its API. The package is actively maintained, recently updated, permissively licensed, and has no known vulnerabilities. High install friction (source distribution, external dependencies) is a minor drawback but not a blocker. The beta designation on this release warrants checking release notes before production deployment.
Install
prisma-sase on PyPI
pip
pip install prisma-saseuv
uv add prisma-sasepoetry
poetry add prisma-saseInstalling prisma-sase
Before you install
High install friction due to source distribution format. Package is actively maintained with recent release (23 days old) and supports Python 3.7–3.12. Requires external dependencies: requests, websockets >= 8.1, and urllib3 >= 2.0.0.
License in practice
MIT license is permissive and places no restrictions on use, modification, or distribution in commercial or private projects.
Quickstart
pip install prisma-sase
from prisma_sase import API
sdk = API()
sdk.interactive.login_secret(
client_id='api_user@org.iam.panserviceaccount.com',
client_secret='secret',
tsg_id=1111111111
)
result = sdk.get.sites()
Requires an active Prisma SASE account and valid credentials (client_id, client_secret, tsg_id). Minimum Python 3.7 required.
Verify before relying
- Whether websockets >= 8.1 and urllib3 >= 2.0.0 are declared as explicit package dependencies or only documented as requirements.
- Whether the beta version (b1) designation indicates API stability or ongoing changes that may affect compatibility.
Package facts
| License | MIT (permissive) |
| Python support | not specified |
| Install friction | high — source build required |
| Runtime dependencies | none |
| Maintenance | actively maintained — 23 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 85,260/month — #13,936 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: prisma_sase-6.8.1b1.tar.gz
Tags
More Internet packages
Botocore provides low-level, data-driven access…
permissive · top 100 on PyPI
aiobotocoreProvides an async client for AWS services using…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
filelockProvides a platform-independent file locking…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
googleapis-common-protosProvides common Protocol Buffer message…
permissive · top 100 on PyPI
pan-os-pythonFramework for programmatically configuring and…
permissive · top 15,000 on PyPI
prismaPrisma Client Python is a type-safe ORM that…
permissive · top 5,000 on PyPI
pan-pythonProvides Python and command-line interfaces to…
permissive · top 15,000 on PyPI
httpcoreA minimal low-level HTTP client library that…
permissive · top 100 on PyPI
censusProvides a Python wrapper for the United States…
permissive · top 15,000 on PyPI
tplink-omada-clientA Python client library for interacting with…
permissive · top 15,000 on PyPI
NREL-PySAMPySAM wraps NREL's System Advisor Model (SAM)…
permissive · top 15,000 on PyPI
spgciPython client library for the S&P Global…
permissive · top 15,000 on PyPI
httpcore2A minimal, low-level HTTP client library…
permissive · top 1,000 on PyPI
msgraphfsProvides a filesystem interface to Microsoft…
permissive · top 5,000 on PyPI