Skip to main content

Multi-tool set for Palo Alto Networks PAN-OS, Panorama, WildFire and AutoFocus

Project description

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>

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pan-python-0.12.0.tar.gz (120.7 kB view details)

Uploaded Source

File details

Details for the file pan-python-0.12.0.tar.gz.

File metadata

  • Download URL: pan-python-0.12.0.tar.gz
  • Upload date:
  • Size: 120.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pan-python-0.12.0.tar.gz
Algorithm Hash digest
SHA256 8377a423f9b4fa75626c7eead0dfd35f0c8fc8a7417c9bf16d35da3c4fc108bf
MD5 6a9a1a503ca7dc4349edd168a92ebb28
BLAKE2b-256 12f863bcaa57be2c6c9b1c18035316463ae211e1d6b0ec98146eebe48af4f80f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page