Skip to main content

VMware vCloud Python SDK

Project description

pyvcloud

Python SDK for VMware vCloud. It supports vCloud Air On Demand and Subscription. It also supports vCloud Director.

Release early, release often.

This project is under development, the classes, methods and parameters might change over time. This README usually reflects the syntax of the latest version.

Sample usage:

Import modules and instantiate a vCloud Air object:

from pyvcloud.vcloudair import VCA
vca = VCA(host, user, service_type, service_version, verify)

Login to a vCloud Director instance:

result = vca.login(password=password, org=org)

Development

To test the current code, check it out from github and install it with:

pip install --editable .

To debug a python session, add this code:

import logging
import httplib
httplib.HTTPConnection.debuglevel = 1
logging.basicConfig()
logging.getLogger().setLevel(logging.DEBUG)
requests_log = logging.getLogger("requests.packages.urllib3")
requests_log.setLevel(logging.DEBUG)
requests_log.propagate = True

Project details


Release history Release notifications | RSS feed

This version

4

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyvcloud-4.tar.gz (1.3 MB view details)

Uploaded Source

File details

Details for the file pyvcloud-4.tar.gz.

File metadata

  • Download URL: pyvcloud-4.tar.gz
  • Upload date:
  • Size: 1.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyvcloud-4.tar.gz
Algorithm Hash digest
SHA256 5572c11b0694f751238c3ed355e11f74720438a53e8076cb28892373f32f7c04
MD5 75fdbf6a31bfb20a785e56e1e43b88ae
BLAKE2b-256 d4c257ac16ebaeaf42c5eb665824f16f1b2016b291ed60bcf3e9d07a224ffe00

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