Skip to main content

CloudEndure Python Client and CLI

Project description

cloudendure-python

Python wrapper and CLI for CloudEndure

Build Status

Documentation

Package version: 0.0.3

Requirements

Python 3.6+

Installation & Usage

pipenv

brew install pipenv # if not installed
pipenv install cloudendure

Then import the package:

import cloudendure

pip

pip install cloudendure

Then import the package:

import cloudendure

Setuptools

Install via Pipenv.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

import cloudendure

Getting Started

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>

cloudendure api login

or

export CLOUDENDURE_TOKEN=<your_ce_api_token>

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_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.

Download files

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

Source Distribution

cloudendure-0.0.3.tar.gz (104.2 kB view hashes)

Uploaded Source

Built Distribution

cloudendure-0.0.3-py3-none-any.whl (349.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page