Skip to main content

pan-python is a Python package for Palo Alto Networks’ Next-Generation Firewalls and WildFire cloud. 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

Python versions 2.7, 3.2, 3.3 and 3.4 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

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.

Documentation:

Rendered reStructuredText from GitHub:

https://github.com/kevinsteves/pan-python/blob/master/doc/panxapi.rst https://github.com/kevinsteves/pan-python/blob/master/doc/panconf.rst https://github.com/kevinsteves/pan-python/blob/master/doc/pan.xapi.rst https://github.com/kevinsteves/pan-python/blob/master/doc/panwfapi.rst https://github.com/kevinsteves/pan-python/blob/master/doc/pan.wfapi.rst https://github.com/kevinsteves/pan-python/blob/master/doc/panrc.rst

HTML from source distribution:

doc/panxapi.html doc/panconf.html doc/pan.xapi.html doc/panwfapi.html doc/pan.wfapi.html doc/panrc.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>

Release files for pan-python 0.7.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.7.0
File Size Uploaded
pan-python-0.7.0.tar.gz 75.1 kB Details

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

Download URL pan-python-0.7.0.tar.gz
Size 75.1 kB
Tags Source
SHA-256 checksum
How to use checksums
311ab2d1178ed6bc4bace20859281c1fe2fa1aba4f0db8e98346dbe2c00ac0b3
BLAKE2b-256 checksum
How to use checksums
d31b9a2893b5c34cd14d776d8fcb560b9cddffbf33c3a22bed700b9ec3d9f36b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

0.26.0

2 release files

0.24.0

2 release files

0.23.0

2 release files

0.21.0

2 release files

0.20.0

2 release files

0.19.0

2 release files

0.18.0

2 release files

0.17.0

2 release files

0.16.0

2 release files

0.15.0

2 release files

0.14.0

2 release files

0.13.0

1 release file

0.12.0

1 release file

0.11.0

1 release file

0.10.0

1 release file

0.9.1

1 release file

0.9.0

1 release file

0.8.0

1 release file

This release

0.7.0 This release

1 release file

0.6.0

1 release file

0.5.0

1 release file

0.4.0

1 release file

0.3.0

1 release file

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