Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

CROC Cloud Platform - API Client

Project description

Simple command-line utility for sending custom requests to CROC Cloud platform.

Warning: this utility is not intended for automation cases. Use https://github.com/c2devel/boto.git and python scripts instead.

Installation

Using pip:

$ pip install c2client

Usage

$ c2-ec2 --help
usage: c2-ec2 [-h] action [parameters [parameters ...]]

positional arguments:
   action      The action that you want to perform.
   parameters  Any parameters for the action. Parameters specified by parameter
               key and parameter value separated by space.

optional arguments:
   -h, --help  show this help message and exit

Common request syntax:

$ c2-ec2 <action> <arg1> <value1> <arg2> <value2>

Example

Send simple request:

$ c2-ec2 RunInstances ImageId cmi-078880A0 Description "Test instance" \
InstanceType m1.small MaxCount 1 MinCount 1 SecurityGroup.1 test

Project details


Release history Release notifications

This version
History Node

0.4

History Node

0.3

History Node

0.2

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
c2client-0.4-py2-none-any.whl (5.6 kB) Copy SHA256 hash SHA256 Wheel py2 Aug 11, 2017
c2client-0.4.tar.gz (4.7 kB) Copy SHA256 hash SHA256 Source None Aug 11, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page