PAN Python SDK Quickstart
note
The following guide will walk you through installing pan-python
, a powerful SDK capable of supporting a variety of automation projects and use cases
#
Introducing pan-pythonpan-python
is a multi-tool set for Palo Alto Networks PAN-OS,
Panorama, WildFire and AutoFocus.
The panxapi.py
command line program (bundled with pan-python
) will be used to complete the following steps.
#
Where to download and installpan-python
is available on GitHub at
https://github.com/kevinsteves/pan-python, as a package on
PyPi (Python Package Index),
or can be installed using
pip on Python 2.7 or 3.x.
pan-python
has no dependencies.
#
DocumentationDocumentation
is available on GitHub and as HTML from the package doc/
directory.
pan-python
using pip
#
Install Install pan-python
:
Example output:
#
Show versionCheck your pan-python
version:
Example output:
By default pip
installs the latest version of the package.
Next, we'll dive into generating an API key, which is the basis for moving on to more advanced topics.