CloudLaunch CLI
===============
.. image:: https://travis-ci.org/CloudVE/cloudlaunch-cli.svg?branch=master
:target: https://travis-ci.org/CloudVE/cloudlaunch-cli
.. image:: https://coveralls.io/repos/github/CloudVE/cloudlaunch-cli/badge.svg?branch=master
:target: https://coveralls.io/github/CloudVE/cloudlaunch-cli?branch=master
.. image:: https://img.shields.io/pypi/v/cloudlaunch_cli.svg
:target: https://pypi.python.org/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`` with pip
::
pip install cloudlaunch-cli
3. The CloudLaunch CLI requires two config settings. First is the URL of
the API root:
::
cloudlaunch config set url https://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://launch.usegalaxy.org/login. Then navigate to the
``/api/v1/auth/tokens`` API endpoint, for example,
https://launch.usegalaxy.org/cloudlaunch/api/v1/auth/tokens/.
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. ``pip install -r requirements_dev.txt``
Now you can run ``cloudlaunch``.
Release process
===============
::
bumpversion patch
# or `bumpversion minor` or `bumpversion major`
git push
git push --tags
make release
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.2.0 - 2018-11-14 - (sha 331e58f756145316334049100f582dd4316055fb)
------------------
* Major refactoring.
* Backward compatibility with Python 2.
* Integration tests with CloudLaunch.
0.1.0 - 2018-01-09
------------------
* First release on PyPI.
Metadata
Release files for cloudlaunch-cli 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| cloudlaunch_cli-0.2.1.tar.gz | 33.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cloudlaunch_cli-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 46.9 kB
Release files / cloudlaunch_cli-0.2.1.tar.gz
| Download URL | cloudlaunch_cli-0.2.1.tar.gz |
|---|---|
| Size | 33.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1057199769c328cf95b7d3578a9c7c3e3fb374b0e1b468025893b90f07fb9748
|
|
BLAKE2b-256 checksum How to use checksums |
9bc7d3ab153fed06998c1af9241bf7f5185f058a7239e50fa0e9df292ae0b3ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.6
|
Release files / cloudlaunch_cli-0.2.1-py3-none-any.whl
| Download URL | cloudlaunch_cli-0.2.1-py3-none-any.whl |
|---|---|
| Size | 13.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f07fbf212c2b63a2e17f59c5214f03f13e8bb6ecb66ec663f61d6110ca904f4f
|
|
BLAKE2b-256 checksum How to use checksums |
3a087013c704830a993ff00ca9f1f591ef5027ba28476f4b93067cc44f88fcf7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.6
|
Security for cloudlaunch-cli 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.