Skip to main content

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/boto3.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
   --no-verify-ssl disable verifying ssl certificate

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


Download files

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

Source Distribution

c2client-0.23.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

c2client-0.23-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file c2client-0.23.tar.gz.

File metadata

  • Download URL: c2client-0.23.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.27.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12

File hashes

Hashes for c2client-0.23.tar.gz
Algorithm Hash digest
SHA256 921ea69aeb507fb0b39cd26874d8c78df0dac703d473b5d3f36bcf7477660557
MD5 18f994a31e3418b5ccc666f25aded0d8
BLAKE2b-256 9d01977ce7e4a82f93b49fd2e873628dba6166c07147e9a149c1323d9b487b3f

See more details on using hashes here.

File details

Details for the file c2client-0.23-py3-none-any.whl.

File metadata

  • Download URL: c2client-0.23-py3-none-any.whl
  • Upload date:
  • Size: 6.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.27.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12

File hashes

Hashes for c2client-0.23-py3-none-any.whl
Algorithm Hash digest
SHA256 bff5e0b551a79f7859c92dd83b766d97c37018d2697ac127254d987f55c15cf4
MD5 11eefab00d380ca39b7b31fb6afe3e5c
BLAKE2b-256 003ccc54fa81f7aae383d112260ee409a183c3701642fafc3dc260dd8f78f9d2

See more details on using hashes here.

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