Skip to main content

A Python wrapper for the Proxmox Datacenter Manager (PDM) API

Project description

proxPDM API client

proxPDM is a library for python similar to proxmoxer for proxmox ve only proxPDM is for the datacenter manager api

Install

pip install proxPDM

Example Usage

  from proxPDM import PDMClient
  api = PDMClient( host="192.168.1.100",
  token_id="root@pdm!mytoken",
  token_secret="abc-123-uuid",
  verify_ssl=False) 
   
   # GET /version 
   print(api.version.get())

	# POST /resource/{id}/guest/{vmid}/status/stop 
	# Example: stop VM 101 on remote 'production-cluster' 
	api.resource("production-cluster").guest("101").status.post(action="stop")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

proxpdm-0.1.1-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

Details for the file proxpdm-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: proxpdm-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 2.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for proxpdm-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e0c0e3f1b66045c41a8486b43bf6c39d2169b79b9d5081a1482f56124524ef24
MD5 289631f90cd50635ff3891bb188a668f
BLAKE2b-256 574030a4291465d7baa02a36c67221e3ec7896d4f7ae2d715ee6be45d7e1968c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page