pyproxmox is a Python wrapper for the Proxmox API, version 2.x.
Example:
1) Build a prox_auth class instance by passing in the IP or URL of a server, as well as the password and username:
a = prox_auth('vnode01.example.org','apiuser','examplePassword')
2) Build a pyproxmox class instance using the auth object as a parameter:
b = pyproxmox(a)
3) Now execute the pre defined methods of the pyproxmox class. Please note that the data is returned in JSON format:
status = b.getClusterStatus('vnode01')
Product's homepage
Requirements:
· Python