Python Wrapper for the Proxmox 2.x API
A python wrapper for the Proxmox 2.x API.
1) Create an instance of the prox_auth class by passing in the url or ip of a server, username and password:
a = prox_auth(‘vnode01.example.org’,’apiuser@pve’,’examplePassword’)
Create and instance of the pyproxmox class using the auth object as a parameter:
b = pyproxmox(a)
Run the pre defined methods of the pyproxmox class. NOTE: they all return data, usually in JSON format:
status = b.getClusterStatus()
For more information see https://github.com/Daemonthread/pyproxmox
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.