Metadata-Version: 2.4
Name: proxPDM
Version: 0.0.2
Summary: A Python wrapper for the Proxmox Datacenter Manager (PDM) API
Author-email: Eoin O'Dowd <givepress@gmail.com>
License: MIT
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Topic :: System :: Systems Administration
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: requests>=2.31.0

﻿# 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")


