c2client


Namec2client JSON
Version 0.23 PyPI version JSON
download
home_pagehttps://github.com/c2devel/c2-client
SummaryCROC Cloud Platform - API Client
upload_time2024-11-06 09:46:55
maintainerAndrey Kulaev
docs_urlNone
authorCROC Cloud Team
requires_pythonNone
licenseGPL3
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            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/9d/01/977ce7e4a82f93b49fd2e873628dba6166c07147e9a149c1323d9b487b3f/c2client-0.23.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",
    "bugtrack_url": null,
    "license": "GPL3",
    "summary": "CROC Cloud Platform - API Client",
    "version": "0.23",
    "project_urls": {
        "Homepage": "https://github.com/c2devel/c2-client"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "003ccc54fa81f7aae383d112260ee409a183c3701642fafc3dc260dd8f78f9d2",
                "md5": "11eefab00d380ca39b7b31fb6afe3e5c",
                "sha256": "bff5e0b551a79f7859c92dd83b766d97c37018d2697ac127254d987f55c15cf4"
            },
            "downloads": -1,
            "filename": "c2client-0.23-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "11eefab00d380ca39b7b31fb6afe3e5c",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 6727,
            "upload_time": "2024-11-06T09:46:53",
            "upload_time_iso_8601": "2024-11-06T09:46:53.437856Z",
            "url": "https://files.pythonhosted.org/packages/00/3c/cc54fa81f7aae383d112260ee409a183c3701642fafc3dc260dd8f78f9d2/c2client-0.23-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9d01977ce7e4a82f93b49fd2e873628dba6166c07147e9a149c1323d9b487b3f",
                "md5": "18f994a31e3418b5ccc666f25aded0d8",
                "sha256": "921ea69aeb507fb0b39cd26874d8c78df0dac703d473b5d3f36bcf7477660557"
            },
            "downloads": -1,
            "filename": "c2client-0.23.tar.gz",
            "has_sig": false,
            "md5_digest": "18f994a31e3418b5ccc666f25aded0d8",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 6309,
            "upload_time": "2024-11-06T09:46:55",
            "upload_time_iso_8601": "2024-11-06T09:46:55.117322Z",
            "url": "https://files.pythonhosted.org/packages/9d/01/977ce7e4a82f93b49fd2e873628dba6166c07147e9a149c1323d9b487b3f/c2client-0.23.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-06 09:46:55",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "c2devel",
    "github_project": "c2-client",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "c2client"
}
        
Elapsed time: 0.34630s