skillfed

prisma-sase

Python3 SDK for the Prisma SASE AppFabric

prisma-sase v6.8.1b1 85.3K downloads/30d#13,936 on PyPI12
Permissive license MIT Active released

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-sase

uv

uv add prisma-sase

poetry

poetry add prisma-sase

Installing 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

Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Tags

prisma sase api sdkpalo alto networks sdk pythonsase appfabric python clientprisma sase automationnetwork security api wrapper
network-securityapi-clientpalo-alto

More Internet packages