vmjuggler provides the simple high level API to VMWare’s SDK.
Project description
What is vmjuggler
vmjuggler provides the simple high level API to VMWare’s SDK.
It built around pyvmomi library with aim to simplify interaction to VMWare VCenter and it’s managed objects for DevOps crowd and those who don’t want to plunge deeply to object’s relations. At the same time ability to perform actions on low level was preserved.
Installation
pip install vmjuggler
Manual installation
Install following python package
Download latest vmjuuggler from https://github.com/shurkam/vmjuggler
Unpack and run python setup.py install
Getting started
from vmjuggler import VCenter
# Create instance of VCenter and connect to VCenter
vc = VCenter('10.0.0.1', 'user', 'super_secret_password')
vc.return_single(True)
vc.connect()
# Find VM and print out it's power state
vm = vc.get_vm(name='My_Linux_VM')
if vm:
print(f'{vm.name} | {vm.state}')
# Close connection to VCenter
vc.disconnect()
Please check documentation for more examples.
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
vmjuggler-0.1.1.tar.gz
(11.9 kB
view hashes)
Built Distribution
Close
Hashes for vmjuggler-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48ad66981791aa7235919a05539d6edd6e67eb02a92e368d295d26800a36557b |
|
MD5 | b40135f8160c39cbcf1066d2f1c1c982 |
|
BLAKE2b-256 | c4de7cf8b5c68fe856c7bcdad305b2af789fde799dfaa7fb394840aadcd1bcd4 |