Skip to main content

CROC Cloud Platform - API Client

Project description

Simple command-line utility for sending custom requests to K2 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.25.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

c2client-0.25-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: c2client-0.25.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for c2client-0.25.tar.gz
Algorithm Hash digest
SHA256 e1c805bf1b4d989a972ec46e877e8c2c79f44ff68f5c21805a579084cf72ef79
MD5 bf0fffcb9eb374ce507d1c55de89ff8c
BLAKE2b-256 cceff4b68b7fca009b7dd7a057bf086133514c00642a45296fe29c851c44c13e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: c2client-0.25-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for c2client-0.25-py3-none-any.whl
Algorithm Hash digest
SHA256 ebee9b49595344763767e99bb36f1faacfd596bedbfbf2bf53dce0bd27bb5197
MD5 3a680a74ca8fe63eeb4cb6a22763f7df
BLAKE2b-256 a77cb8b69b473f3e55b932b52801a604114773603fafcc18209890d767bceb68

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page