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.0.2-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: proxpdm-0.0.2-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.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f6751b32c1ab4570f01b458695e4fe0c33e16f20f1f7cd2b08194568f4889f97
MD5 9c396b3b1137efa79640e2eadd838bc8
BLAKE2b-256 7add98bb1b88412441d277324b5e32a3d6b96ee0af1258839b7dc1a645f4f84f

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