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
Hashes for nagra_panorama_api-0.2.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d18ce38e7ff90db88888908f0b01bdc09af12d740a7061fd2e933ad5e0ac56d6 |
|
MD5 | 8d80a4bf495c2088ac9e8b9bb7c1e18c |
|
BLAKE2b-256 | f2895349497b4f82705e0f464250c6ff378c3ef5ae6b1dee10d0591233a4f3b5 |