A CLI utility to return various info from the Proxmox API.
Project description
proxmox-info
A CLI utility to return various info from the Proxmox API.
Currently, it only reports storage vs machines info.
Table of contents
Purpose and uses
Ever needed to get a list of VMs or containers per datastore?
Why? Perhaps you need to shutdown that storage for maintenance, upgrades etc., and need to move all running machines off it (a la vSphere storage vMotion).
Then this is the tool for you.
Installation
The recommended way to install proxmox-info
is to use pipx.
After getting pipx
installed, simply run:
username@proxmox:~$ pipx install proxmox-info
Please don't use pip system-wide.
You can of course also install it using classic virtualenvs.
Configuration
Overview
proxmox-info
is configured with a YAML-style file. An example:
host: zzz
user: zap
password: some_password
Location
The default location for the configuration is /etc/proxmox_info.yml
, or proxmox_info.yml
in the current
working directory, but this can also be specified on the commandline.
If a non-absolute path is given, Dynaconf will iterate upwards: it will look at each parent up to the root of the
system. For each visited folder, it will also try looking inside a /config
folder.
Supported versions
proxmox-info
supports the following VE versions:
VE version | Debian version | Python version | VE EoL |
---|---|---|---|
8 | 12 (Bookworm) | 3.11 | TBA |
7 | 11 (Bullseye) | 3.9 | 2024-07 |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file proxmox_info-1.0.2.tar.gz
.
File metadata
- Download URL: proxmox_info-1.0.2.tar.gz
- Upload date:
- Size: 20.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7348d7c057ee3b80bc908c3359ce1b077ee8014ad6b37c0d86fd7cd5a488ed72 |
|
MD5 | 6b1179aa4442a32987a757dc6d7d55cf |
|
BLAKE2b-256 | 4891e886f3af539024bbe0230ad3e39da4e5b33a2f61ad1de2718dddc5e53b10 |
File details
Details for the file proxmox_info-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: proxmox_info-1.0.2-py3-none-any.whl
- Upload date:
- Size: 18.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c647fe1c4abc34ec4115fd6bb1fbedd1ab338e76d742d3ae0c21098310c34ba4 |
|
MD5 | fd9cc1eeccf85d6ef37c5be919afb7a9 |
|
BLAKE2b-256 | 0b945240354964ff01e2005e187147deecc01e536848506c7346aab758d3c07a |