cloudendure-python

Python wrapper and CLI for CloudEndure

PyPI PyPI - Python Version Build Status

Documentation

Requirements

Python 3.7+

Installation & Usage

pipenv

brew install pipenv # if not installed
pipenv install cloudendure

pip

pip install cloudendure

Usage

Then import the package:

import cloudendure

Getting Started

CloudEndure Flow

Logging in via CLI using environment variables

Please note: cloudendure and ce can be used interchangeably

export CLOUDENDURE_USERNAME=<your_ce_user>
export CLOUDENDURE_PASSWORD=<your_ce_password>
export CLOUDENDURE_DESTINATION_ACCOUNT=<destination_aws_account_id>

cloudendure api login

or

export CLOUDENDURE_USER_API_TOKEN=<your_ce_user_api_token>
export CLOUDENDURE_DESTINATION_ACCOUNT=<destination_aws_account_id>

ce api login

Logging in via CLI inline

Please note: cloudendure and ce can be used interchangeably

cloudendure api login --user=<your_ce_user> --password=<your_ce_password>

or

ce api login --token=<your_ce_user_api_token>

Logging in for the first time will generate the ~/.cloudendure.yml file.

Coming Soon

This project is currently a work in progress and will actively change. This client has not yet been finalized and is entirely subject to change.

Changelog

Check out the CHANGELOG