No project description provided
Project description
README
This repository contains a wrapper around Panorama/PaloAlto API.
It also provides a cli tool: panorama_api
.
Read the corresponding documentations:
Why the need for this library ?
For simple resource retrieval, the existing API is enough, but:
- The libraries available are not practical for it, the manual management of urls is easier
- For more complex operation, this does not suits well
The official python SDK of PaloAltoNetworks itself relies on a third party wrapper for their API.
This library takes a more popular approach when wrapping the API, making it easier to use. It also provides types' wrappers to simplify their usage or utility functions to re-structure the data we receive. It provides a client for the REST API and for the XML API
- A simple client for the API (JSON and XML)
Tool to manage the xml configuration
TODO
-
Improve the documentation
- Re-organize the methods
- Add type hints
- Find a place to publish it (move the whole project on a public repository on Github?)
-
Provide wrapper classes for the resources.
nat = NatPolicy(...) tree.insert(nat) # or nat.insertInto(tree) client.create(nat.insert_xpath, nat.xml)
-
Mix Rest API and XML API ?
Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file nagra_panorama_api-0.2.7.tar.gz
.
File metadata
- Download URL: nagra_panorama_api-0.2.7.tar.gz
- Upload date:
- Size: 43.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2417a3ab854c809d7aa4c2394cac5528ef09b6d02b0121cc90c30abfb256a5e6 |
|
MD5 | 11deeceb1715ebb7912d144eb85cf868 |
|
BLAKE2b-256 | e17eeafdc3eb2bde526fb70c2235168b41a68f74c2dfa428ca6f2405c75efbe4 |
File details
Details for the file nagra_panorama_api-0.2.7-py3-none-any.whl
.
File metadata
- Download URL: nagra_panorama_api-0.2.7-py3-none-any.whl
- Upload date:
- Size: 57.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68d13bc6d5a2c052ca45608c6bf5c41f7e4525cbb1d3e5f28addff634568e167 |
|
MD5 | ca9ccbbd9acfa1af63538f3a905b697d |
|
BLAKE2b-256 | 81aac7877bf6dd348686f5fa062f57f77d247bfe47801c8925083cfa77d169f6 |