Skip to main content
pan-python is a Python package for Palo Alto Networks' Next-Generation
Firewalls, WildFire and AutoFocus. It provides:

- a Python and command line interface to the PAN-OS and Panorama XML API
- a command line program for managing PAN-OS XML configurations
- a Python and command line interface to the WildFire API
- a Python and command line interface to the AutoFocus API
- a Python and command line interface to the PAN-OS licensing API

Python versions 2.7, 3.4 and 3.5 are supported with a single code
base. There are no external modules required to use pan-python.

The pan package contains the following modules:

pan.xapi: pan.xapi.PanXapi class
pan.commit: pan.commit.PanCommit class (internal)
pan.rc: pan.rc.PanRc class (internal)
pan.config: pan.config.PanConfig class (internal)
pan.wfapi: pan.wfapi.PanWFapi class
pan.afapi: pan.afapi.PanAFapi class factory
pan.http: pan.http.PanHttp class (internal)
pan.licapi: pan.licapi.PanLicapi class factory

bin/panxapi.py is a command line program for accessing the XML API and
uses the pan.xapi and pan.commit modules.

bin/panconf.py is a command line program program for managing PAN-OS
XML configurations and uses the pan.config module.

bin/panwfapi.py is a command line program for accessing the WildFire
API and uses the pan.wfapi module.

bin/panafapi.py is a command line program for accessing the AutoFocus
API and uses the pan.afapi module.

bin/panlicapi.py is a command line program for accessing the PAN-OS
licensing API and uses the pan.licapi module.

Documentation:

Rendered reStructuredText from GitHub:

https://github.com/kevinsteves/pan-python/tree/master/doc

HTML from source distribution:

doc/*.html

Install:

You can install the package or just run the programs from within the
package source directory:

$ tar xzf pan-python-1.0.0.tar.gz
$ cd pan-python-1.0.0

$ cd bin
$ ./panxapi.py

or:

$ sudo ./setup.py install
$ panxapi.py

Remote Git Repository:

https://github.com/kevinsteves/pan-python

Author:

Kevin Steves <kevin.steves@pobox.com>

Metadata

Release files for pan-python 0.11.0

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-python 0.11.0
File Size Uploaded Provenance Actions
pan-python-0.11.0.tar.gz 109.5 kB Without provenance Details for pan-python-0.11.0.tar.gz

Release files / pan-python-0.11.0.tar.gz

Download URL pan-python-0.11.0.tar.gz
Size 109.5 kB
Tags Source
SHA-256 checksum
How to use checksums
c844e007b293b381ec2ec4d77b492c732b237fd819717359ceaf7d737602df27
BLAKE2b-256 checksum
How to use checksums
070547111d50fad50917c9072c9595131fb10760a57c16c0b0eff211dfb834c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for pan-python 0.11.0

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.

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