Skip to main content

pybenproxmox

GitHub License PyPI - Version python suggested version python minimum version platforms

Introduction

PyBEN Proxmox repository is an easy to use python utility class for Proxmox server solution

Installation

python -m pip install pybenproxmox

Use

Cli module activation

Run for a full help printout:

python -m pybenproxmox -h

Example for use of global variables to get all vms:

  • pybenproxmox is the name of the module
  • pprint is a function to print the returned dict nicely in console
  • get_vms is a function to return all vms (or request a specific one)
set PROXMOX_HOST='1.1.1.1'
set PROXMOX_USER='root'
set PROXMOX_PASS='1234'

python -m pybenproxmox pprint get_vms

Example for passing variables directly:

  • pybenproxmox is the name of the module
  • get_vms is a function to return all vms (or request a specific one)
python -m pybenproxmox host=1.1.1.1 user=root password=1234 get_vms vm_id=123

Python import ProxmoxCls class

from pybenproxmox import ProxmoxCls

prox = ProxmoxCls(host='1.1.1.1', user='root', password='1234')
print(prox.get_vms())

Some of the included functions:

  • get_vms: Returns a full list of vms, or list with matching vms by id or name
  • clone_vms
  • migrate_vm_to_node
  • delete_vm
  • start_vm
  • stop_vm
  • snapshot handling
  • and more ...

Metadata

Release files for pybenproxmox 1.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pybenproxmox 1.3.0
File Size Uploaded
pybenproxmox-1.3.0.tar.gz 11.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pybenproxmox 1.3.0
File Interpreter ABI Platform
pybenproxmox-1.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 21.6 kB

Release files / pybenproxmox-1.3.0.tar.gz

Download URL pybenproxmox-1.3.0.tar.gz
Size 11.1 kB
Tags Source
SHA-256 checksum
How to use checksums
f66c8f6ccbeb731bd9b0c22e8ac34f5e528290c95e34ee3fd43135469585ffe0
BLAKE2b-256 checksum
How to use checksums
0b82a4b1df20fa4d3b9c063a112a50818c6679fea8bd0069c3a8c353fcd24fc1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.9

Release files / pybenproxmox-1.3.0-py3-none-any.whl

Download URL pybenproxmox-1.3.0-py3-none-any.whl
Size 10.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ab8861f040097a6e776532120b07b40a74ddeb6740f073053c55b9782ba42cd6
BLAKE2b-256 checksum
How to use checksums
35e3bafc44a8b1a972742057bc7eb7b0462ba06c9f897444e6edfc076b0e8e94
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.9

Release history Release notifications | RSS feed

This release

1.3.0 This release

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.3

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page