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.dev29.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.dev29-py3-none-any.whl (1.4 MB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for pyvcloud-18.2.1.dev29.tar.gz
Algorithm Hash digest
SHA256 2fc3156c93d89c7335a91b2dfd2c09124f0889658ae68d3b444764c7f175cd57
MD5 a5e04e83dcaec5afbdcd1eba99d168eb
BLAKE2b-256 75276bc309a50699990a512ebd014e768b09c5c5dc8f2eafd7580e7279e31a28

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyvcloud-18.2.1.dev29-py3-none-any.whl
Algorithm Hash digest
SHA256 facfc8af23030437b164c241213a95287fafb59d9734ea392119e2668a735db6
MD5 985a0673e6886aace7fb5d277de599ab
BLAKE2b-256 60d82e6d040af95d702015c7450d22600440b450ef9f149e26b0a959e5ad6902

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