Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ollionorg/cloudendure-python

A Python 3.7+ client and utilities for CloudEndure
https://github.com/ollionorg/cloudendure-python

api-client aws boto3 cli cloud cloud-migration cloudendure cloudendure-python migrations poetry pypi python python-3 python3 python3-7 python3-8 python3-9 python37 python38 python39

Last synced: 14 days ago
JSON representation

A Python 3.7+ client and utilities for CloudEndure

Awesome Lists containing this project

README

        

# cloudendure-python

Python wrapper and CLI for [CloudEndure](https://www.cloudendure.com/)

[![PyPI](https://img.shields.io/pypi/v/cloudendure) ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/cloudendure)](https://pypi.org/project/cloudendure/) [![PyPi Publish](https://github.com/2ndWatch/cloudendure-python/workflows/PyPi%20Publish/badge.svg)](https://2ndwatch.github.io/cloudendure-python/) [![Documenation](https://github.com/2ndWatch/cloudendure-python/workflows/Github%20Pages/badge.svg)](https://2ndwatch.github.io/cloudendure-python/)

## Requirements

[Python 3.7+](https://www.python.org/downloads/)

## Installation & Usage

### Basic Installation / pip

```sh
pip install cloudendure
cloudendure version
```

### Local Development with Poetry

```sh
brew install poetry # if not installed
poetry install
```

### Local Development with Docker

```sh
docker run --rm -it cloudendurepy/cloudendure bash
```

### Usage

Then import the package:

```python
import cloudendure
```

## Getting Started
CloudEndure Pipeline Flow
![CloudEndure Pipeline Flow](images/ce_migration_pipeline.png)

CloudEndure Data Flow
![CloudEndure Data Flow](images/ce_dataflow.png)

Pipeline Flow (as seen in AWS Console)
![Pipeline_Flow](images/stepfunctions_graph.svg)

### Logging in via CLI using environment variables

Please note: `cloudendure` and `ce` can be used interchangeably

```sh
export CLOUDENDURE_USERNAME=
export CLOUDENDURE_PASSWORD=
export CLOUDENDURE_DESTINATION_ACCOUNT=

cloudendure api login
```

or

```sh
export CLOUDENDURE_USER_API_TOKEN=
export CLOUDENDURE_DESTINATION_ACCOUNT=

ce api login
```

### Logging in via CLI inline

Please note: `cloudendure` and `ce` can be used interchangeably

```sh
cloudendure api login --user= --password=
```

or

```sh
ce api login --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](CHANGELOG.md)