Skip to main content

VMware vCloud Director Python SDK

Project description

pyvcloud —

[![License](https://img.shields.io/pypi/l/pyvcloud.svg)](https://pypi.python.org/pypi/pyvcloud) [![Stable Version](https://img.shields.io/pypi/v/pyvcloud.svg)](https://pypi.python.org/pypi/pyvcloud) [![Build Status](https://img.shields.io/travis/vmware/pyvcloud.svg?style=flat)](https://travis-ci.org/vmware/pyvcloud/)

pyvcloud is the Python SDK for VMware vCloud Director.

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

We are rewriting pyvcloud for a more efficient and easy-to-use library. The new code is located under the [pyvcloud/vcd](pyvcloud/vcd) directory. The original code is still part of the SDK but we encourage to use (and contribute to) the new library. The new [vcd-cli](https://vmware.github.io/vcd-cli) is being developed with the new library implementation and can be used as a reference, in addition to the [unit tests](tests/run-tests.sh).

Installation —

In general, pyvcloud can be installed with the following command:

`shell $ pip install --user pyvcloud `

pyvcloud can also be installed with [virtualenv](http://docs.python-guide.org/en/latest/dev/virtualenvs).

Testing —

Contributions to pyvcloud are welcome and they should include unit tests.

Check out the latest version and install:

`shell git clone https://github.com/vmware/pyvcloud.git cd pyvcloud virtualenv .venv source .venv/bin/activate python setup.py develop `

Sample test parameters are in file [tests/config.yml](tests/config.yml). Create a copy to specify your own settings and use the VCD_TEST_CONFIG_FILE env variable.

`shell cd tests cp config.yml private.config.yml # customize credentials and other parameters export VCD_TEST_CONFIG_FILE=private.config.yml # run unit test python -m unittest vcd_login vcd_catalog_setup # run just a test method python -m unittest vcd_catalog_setup.TestCatalogSetup.test_validate_ova `

See [tests/run-tests.sh](tests/run-tests.sh) for a list of current unit tests written for the new SDK implementation.

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

pyvcloud-18.2.1.dev76.tar.gz (1.4 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyvcloud-18.2.1.dev76-py3-none-any.whl (1.4 MB view details)

Uploaded Python 3

File details

Details for the file pyvcloud-18.2.1.dev76.tar.gz.

File metadata

File hashes

Hashes for pyvcloud-18.2.1.dev76.tar.gz
Algorithm Hash digest
SHA256 2176e27542affae50b4a6e9e2d99ace179cfc41bd08202ceaebb566e40205a78
MD5 9540622ac675da2767be0d7fce9c97bc
BLAKE2b-256 7ba7562e1f45b847130985fc767493ed0cd768cc3da83bb53582a7da35d54f57

See more details on using hashes here.

File details

Details for the file pyvcloud-18.2.1.dev76-py3-none-any.whl.

File metadata

File hashes

Hashes for pyvcloud-18.2.1.dev76-py3-none-any.whl
Algorithm Hash digest
SHA256 85fdbf7a3c5c3f3f8071644c28f1ad634694376a5ec6487db44e3b4f41171d68
MD5 ecdd1765f7ddfb72704ee08374c3def9
BLAKE2b-256 00226c13727d0dd79630cce9c6f40e6ceca6fe1a44c1bef5045a6ba0f8756aca

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