Skip to main content

Strata Cloud Manager SDK

pan-scm-sdk

codecov Build Status PyPI version Python versions License

Python SDK for Palo Alto Networks Strata Cloud Manager. Provides OAuth2-authenticated CRUD operations on firewall configuration objects — addresses, security rules, NAT rules, and 80+ resource types — via a unified client interface.

Installation

pip install pan-scm-sdk

Requires Python 3.10+.

Quick Start

from scm.client import Scm

# Initialize with OAuth2 credentials
client = Scm(
    client_id="your_client_id",
    client_secret="your_client_secret",
    tsg_id="your_tsg_id",
)

# Create an address object
client.address.create({
    "name": "web-server",
    "ip_netmask": "10.0.1.100/32",
    "description": "Production web server",
    "folder": "Texas",
})

# List all addresses in a folder
addresses = client.address.list(folder="Texas")
for addr in addresses:
    print(f"{addr.name}: {addr.ip_netmask or addr.fqdn}")

Documentation

For comprehensive guides, API reference, and examples for all 80+ supported resources, visit the full documentation site:

https://cdot65.github.io/pan-scm-sdk/

Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/your-feature)
  3. Run quality checks (make quality) and tests (make test)
  4. Open a Pull Request

License

Apache 2.0 — see LICENSE for details.

Metadata

Release files for pan-scm-sdk 0.15.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pan-scm-sdk 0.15.1
File Size Uploaded Provenance
pan_scm_sdk-0.15.1.tar.gz 208.1 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pan-scm-sdk 0.15.1
File Interpreter ABI Platform
pan_scm_sdk-0.15.1-py3-none-any.whl Python 3 none any Details

Total release size: 755.8 kB

Release files / pan_scm_sdk-0.15.1.tar.gz

Download URL pan_scm_sdk-0.15.1.tar.gz
Size 208.1 kB
Tags Source
SHA-256 checksum
How to use checksums
52df0010f1704c62de68759424dfe8676bb334675d47fb54d5926a535b7608a5
BLAKE2b-256 checksum
How to use checksums
5119d9748b0579917b5f0484bf4d3f3465775173ba017b07910e67ed1b992648
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 28, 2026.

Transparency log

Release files / pan_scm_sdk-0.15.1-py3-none-any.whl

Download URL pan_scm_sdk-0.15.1-py3-none-any.whl
Size 547.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2a1809b064c30c68cf9287e3dbd4f45e394b79442aba3bf10ecaf4b222f56678
BLAKE2b-256 checksum
How to use checksums
31d511085e218b77f673c82eb7d237cc9ba18ee1371dba5f273dde455746f112
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 28, 2026.

Transparency log

Security for pan-scm-sdk 0.15.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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pan_scm_sdk-0.15.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 28, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.15.1 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page