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

Uploaded Python 3

File details

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

File metadata

  • Download URL: proxpdm-0.0.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.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5fa55d49708a7209a1368dff2e77e117820159e00ef9c74c9d79feb085cc18e0
MD5 ad39412382f9ec053cd3b6146afaf5d5
BLAKE2b-256 49df38be66530e9f438dcc38d170321ae727f042e87067d60ee70bea123b38a5

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