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_ospfeigrp 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.2-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: proxpdm-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 2.5 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4b0c7652ff24df02ecdcccb0125505f76cd89fc35560af96bfbd0e808033a6cc
MD5 18299db7ca7ca59e06d9a2dccc6dd85b
BLAKE2b-256 9a674bf9a4e151467175dbe92e9d2dccb28b63ac17632e6413975c62cc625414

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