CROC Cloud API Client
=====================
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:
.. code-block:: bash
$ pip install c2client
Usage
-----
.. code-block::
$ 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:
.. code-block:: bash
$ c2-ec2 <action> <arg1> <value1> <arg2> <value2>
Example
-------
Send simple request:
.. code-block:: bash
$ c2-ec2 RunInstances ImageId cmi-078880A0 Description "Test instance" \
InstanceType m1.small MaxCount 1 MinCount 1 SecurityGroup.1 test
Raw data
{
"_id": null,
"home_page": "https://github.com/c2devel/c2-client",
"name": "c2client",
"maintainer": "Andrey Kulaev",
"docs_url": null,
"requires_python": null,
"maintainer_email": "adkulaev@gmail.com",
"keywords": null,
"author": "CROC Cloud Team",
"author_email": "devel@croc.ru",
"download_url": "https://files.pythonhosted.org/packages/9e/a8/2dbe82e4dfeb22fef75c12dc0be91cecbe201c740d7f9e2e3c409b745d57/c2client-0.24.tar.gz",
"platform": null,
"description": "CROC Cloud API Client\n=====================\n\nSimple command-line utility for sending custom requests to CROC Cloud platform.\n\n**Warning: this utility is not intended for automation cases.\nUse https://github.com/c2devel/boto3.git and python scripts instead.**\n\nInstallation\n------------\n\nUsing pip:\n\n .. code-block:: bash\n\n $ pip install c2client\n\nUsage\n-----\n\n.. code-block::\n\n $ c2-ec2 --help\n usage: c2-ec2 [-h] action [parameters [parameters ...]]\n\n positional arguments:\n action The action that you want to perform.\n parameters Any parameters for the action. Parameters specified by parameter\n key and parameter value separated by space.\n\n optional arguments:\n -h, --help show this help message and exit\n --no-verify-ssl disable verifying ssl certificate\n\n\nCommon request syntax:\n\n.. code-block:: bash\n\n $ c2-ec2 <action> <arg1> <value1> <arg2> <value2>\n\n\nExample\n-------\n\nSend simple request:\n\n.. code-block:: bash\n\n $ c2-ec2 RunInstances ImageId cmi-078880A0 Description \"Test instance\" \\\n InstanceType m1.small MaxCount 1 MinCount 1 SecurityGroup.1 test\n\n\n",
"bugtrack_url": null,
"license": "GPL3",
"summary": "CROC Cloud Platform - API Client",
"version": "0.24",
"project_urls": {
"Homepage": "https://github.com/c2devel/c2-client"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "89a5b3880e3e930301540d12b7759fc5aff6395658711c751eac153df4a5c312",
"md5": "37929e83855a02e3f2397fc79e88dbd9",
"sha256": "5fb2475ff9aa1425faf1a1a625dd1f5f8c09c04002515c0ed124be2204027c8d"
},
"downloads": -1,
"filename": "c2client-0.24-py3-none-any.whl",
"has_sig": false,
"md5_digest": "37929e83855a02e3f2397fc79e88dbd9",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 6734,
"upload_time": "2024-12-22T09:29:46",
"upload_time_iso_8601": "2024-12-22T09:29:46.389519Z",
"url": "https://files.pythonhosted.org/packages/89/a5/b3880e3e930301540d12b7759fc5aff6395658711c751eac153df4a5c312/c2client-0.24-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "9ea82dbe82e4dfeb22fef75c12dc0be91cecbe201c740d7f9e2e3c409b745d57",
"md5": "4657ad472c2cffda671fc02b8f998f29",
"sha256": "0a9a177d00feb40a0bf6d052538c966c2cd733a34b99e51e9c58081b35923640"
},
"downloads": -1,
"filename": "c2client-0.24.tar.gz",
"has_sig": false,
"md5_digest": "4657ad472c2cffda671fc02b8f998f29",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 6246,
"upload_time": "2024-12-22T09:29:48",
"upload_time_iso_8601": "2024-12-22T09:29:48.505697Z",
"url": "https://files.pythonhosted.org/packages/9e/a8/2dbe82e4dfeb22fef75c12dc0be91cecbe201c740d7f9e2e3c409b745d57/c2client-0.24.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-22 09:29:48",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "c2devel",
"github_project": "c2-client",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "c2client"
}