The following guide will walk you through installing
pan-cortex-data-lake, a powerful SDK capable of supporting your next Cortex Data Lake app, integration or automation project.
To install the Cortex Data Lake Python SDK, run this command in your terminal:
pip install pan-cortex-data-lake
It's highly recommended to move to python3 as python2 was officially retired and is no longer maintained.
The source for the Cortex Data Lake Python SDK can be downloaded from the Github repo.
You can clone the public repository:
git clone git://github.com/PaloAltoNetworks/pan-cortex-data-lake-python
Or download the tarball:
curl -OL https://github.com/PaloAltoNetworks/pan-cortex-data-lake-python/tarball/master
Once you have a copy of the source, you can install it with the following command:
python setup.py install
Create and work within a
venv to keep your system and project dependencies separate. The following tutorial explains how to set one up: https://docs.python.org/3/tutorial/venv.html
Now that you've successfully installed the Cortex Data Lake Python SDK, visit the Quickstart for a step-by-step tutorial on making your first API request.