All Projects → ManageIQ → manageiq-api-client-python

ManageIQ / manageiq-api-client-python

Licence: GPL-2.0 License
No description, website, or topics provided.

Programming Languages

python
139335 projects - #7 most used programming language

ManageIQ Python API Client

This python package provides the ManageIQ API Client library.

Getting Started

Preparing your python virtual environment:

$ virtualenv venv
$ source venv/bin/activate
$ pip install -e .  # To create an editable install of this package

If you want to install it directly from GitHub:

$ pip install git+https://github.com/ManageIQ/manageiq-api-client-python.git

To run the example present in this repository you probably need to configure your options (if different from the default shown here):

$ export MIQURL=http://localhost:3000/api
$ export MIQUSERNAME=admin
$ export MIQPASSWORD=smartvm

$ python example.py

To run the example with an API Token use these settings:

$ export MIQURL=http://localhost:3000/api
$ export MIQTOKEN=< place real token here >

$ python example.py

Legal

Copyright 2013 Red Hat, Inc. and/or its affiliates.

License: GPL version 2 or any later version (see COPYING or http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html for details).

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].