Command line client to the CloudLaunch API.
Project description
===============
CloudLaunch CLI
===============
.. image:: https://img.shields.io/pypi/v/cloudlaunch_cli.svg
:target: https://pypi-hypernode.com/pypi/cloudlaunch_cli
.. image:: https://readthedocs.org/projects/cloudlaunch-cli/badge/?version=latest
:target: https://cloudlaunch-cli.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status
.. image:: https://pyup.io/repos/github/CloudVE/cloudlaunch_cli/shield.svg
:target: https://pyup.io/repos/github/CloudVE/cloudlaunch_cli/
:alt: Updates
Command line client to the CloudLaunch API.
* Free software: MIT license
* Documentation: https://cloudlaunch-cli.readthedocs.io.
Quickstart
==========
1. Create a virtual environment and activate it
::
python3 -m venv venv
source venv/bin/activate
2. Install ``cloudlaunch-cli`` from GitHub
::
pip install git+https://github.com/CloudVE/cloudlaunch-cli.git#egg=cloudlaunch-cli
3. The CloudLaunch CLI requires two config settings. First is the URL of
the API root:
::
cloudlaunch config set url https://beta.launch.usegalaxy.org/cloudlaunch/api/v1
4. Second config setting is an auth token. To get an auth token, first
log into CloudLaunch, for example, by going to
https://beta.launch.usegalaxy.org/login. Then navigate to the
``/api/v1/auth/api-auth-token`` API endpoint, for example,
https://beta.launch.usegalaxy.org/cloudlaunch/api/v1/auth/api-token-auth/.
Copy the token out of the JSON response and then run the following
(substituting your own token instead):
::
cloudlaunch config set token b38faadf2ef6d59ce46711ed73e99d6...
5. Now you should be able to list your deployments
::
cloudlaunch deployments list
6. You can create a deployment as well
::
cloudlaunch deployments create my-ubuntu-test ubuntu \
amazon-us-east-n-virginia --application-version 16.04
Installing for development
==========================
1. ``python3 -m venv venv``
2. ``source venv/bin/activate``
3. ``python setup.py develop``
Now you can run ``cloudlaunch``.
Credits
---------
This package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.
.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage
=======
History
=======
0.1.0 (2018-01-09)
------------------
* First release on PyPI.
CloudLaunch CLI
===============
.. image:: https://img.shields.io/pypi/v/cloudlaunch_cli.svg
:target: https://pypi-hypernode.com/pypi/cloudlaunch_cli
.. image:: https://readthedocs.org/projects/cloudlaunch-cli/badge/?version=latest
:target: https://cloudlaunch-cli.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status
.. image:: https://pyup.io/repos/github/CloudVE/cloudlaunch_cli/shield.svg
:target: https://pyup.io/repos/github/CloudVE/cloudlaunch_cli/
:alt: Updates
Command line client to the CloudLaunch API.
* Free software: MIT license
* Documentation: https://cloudlaunch-cli.readthedocs.io.
Quickstart
==========
1. Create a virtual environment and activate it
::
python3 -m venv venv
source venv/bin/activate
2. Install ``cloudlaunch-cli`` from GitHub
::
pip install git+https://github.com/CloudVE/cloudlaunch-cli.git#egg=cloudlaunch-cli
3. The CloudLaunch CLI requires two config settings. First is the URL of
the API root:
::
cloudlaunch config set url https://beta.launch.usegalaxy.org/cloudlaunch/api/v1
4. Second config setting is an auth token. To get an auth token, first
log into CloudLaunch, for example, by going to
https://beta.launch.usegalaxy.org/login. Then navigate to the
``/api/v1/auth/api-auth-token`` API endpoint, for example,
https://beta.launch.usegalaxy.org/cloudlaunch/api/v1/auth/api-token-auth/.
Copy the token out of the JSON response and then run the following
(substituting your own token instead):
::
cloudlaunch config set token b38faadf2ef6d59ce46711ed73e99d6...
5. Now you should be able to list your deployments
::
cloudlaunch deployments list
6. You can create a deployment as well
::
cloudlaunch deployments create my-ubuntu-test ubuntu \
amazon-us-east-n-virginia --application-version 16.04
Installing for development
==========================
1. ``python3 -m venv venv``
2. ``source venv/bin/activate``
3. ``python setup.py develop``
Now you can run ``cloudlaunch``.
Credits
---------
This package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.
.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage
=======
History
=======
0.1.0 (2018-01-09)
------------------
* First release on PyPI.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cloudlaunch_cli-0.1.1.tar.gz
(20.5 kB
view details)
Built Distribution
File details
Details for the file cloudlaunch_cli-0.1.1.tar.gz
.
File metadata
- Download URL: cloudlaunch_cli-0.1.1.tar.gz
- Upload date:
- Size: 20.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | abbbc80f0776494ee3bf63050a5007ee93862c6eb22d5ac4c7cbbc9fd70b11e2 |
|
MD5 | 89e9a9324116b2aadfdc82e693bc91a0 |
|
BLAKE2b-256 | 69578271ad8f874b2de2221b55b2133945d8e0a83f3a7c744d41d858040689ea |
Provenance
File details
Details for the file cloudlaunch_cli-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: cloudlaunch_cli-0.1.1-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb8bbd49422747588c62d587596b4d7e654e413b1cdbb1b673554f3e1985804e |
|
MD5 | 978bef45107a345694da7a10c8a4889f |
|
BLAKE2b-256 | fde4740640106cd92ca224ebf92689ef6988f67c8bb41417de829a3c061a523e |