{"id":30996917,"url":"https://github.com/yunify/qingcloud-cli","last_synced_at":"2025-09-12T22:17:48.462Z","repository":{"id":32725007,"uuid":"36314837","full_name":"yunify/qingcloud-cli","owner":"yunify","description":"Command Line Interface for QingCloud","archived":false,"fork":false,"pushed_at":"2021-07-27T09:04:15.000Z","size":346,"stargazers_count":10,"open_issues_count":1,"forks_count":11,"subscribers_count":33,"default_branch":"master","last_synced_at":"2023-08-09T14:58:28.195Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yunify.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-05-26T18:15:23.000Z","updated_at":"2023-08-09T14:58:28.196Z","dependencies_parsed_at":"2022-06-27T00:32:40.742Z","dependency_job_id":null,"html_url":"https://github.com/yunify/qingcloud-cli","commit_stats":null,"previous_names":[],"tags_count":33,"template":null,"template_full_name":null,"purl":"pkg:github/yunify/qingcloud-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yunify%2Fqingcloud-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yunify%2Fqingcloud-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yunify%2Fqingcloud-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yunify%2Fqingcloud-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yunify","download_url":"https://codeload.github.com/yunify/qingcloud-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yunify%2Fqingcloud-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274885851,"owners_count":25368223,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-12T02:00:09.324Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-09-12T22:17:44.433Z","updated_at":"2025-09-12T22:17:48.446Z","avatar_url":"https://github.com/yunify.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"===============\nQingCloud CLI \n===============\n\nqingcloud-cli is the command line interface for managing QingCloud resources,\nwith it you can check, create, delete and operate all your resources,\nit supports Linux, Mac and Windows for now.\n\nThis CLI is licensed under\n`Apache Licence, Version 2.0 \u003chttp://www.apache.org/licenses/LICENSE-2.0.html\u003e`_.\n  \n.. note::\n  Requires Python 2.6 or higher, for more information please see\n  `QingCloud CLI Documentation \u003chttps://docs.qingcloud.com/product/cli/\u003e`_\n  \n\n-------------\nInstallation\n-------------\n\nInstall via `pip \u003chttp://www.pip-installer.org\u003e`_ ::\n\n    $ pip install qingcloud-cli\n\nIf not installed in ``virtualenv``, maybe ``sudo`` is needed ::\n\n    $ sudo pip install qingcloud-cli\n\nUpgrade to the latest version ::\n\n    $ pip install --upgrade qingcloud-cli\n\n\n--------------------\nCommand Completion\n--------------------\n\nqingcloud-cli has auto-completion (only support Linux and Mac).\n\nIf auto-completion doesn't take effect, please activate it manually.::\n\n  $ source ~/.bash_profile\n\nIf still doesn't work, please input::\n\n  $ complete -C qingcloud_completer qingcloud\n\nand add this command into your login shell (such as ``~/.bash_profile``).\n\n-----------------\nGetting Started\n-----------------\n\nTo use qingcloud-cli, there must be a configuration file to configure your own\n``qy_access_key_id`` , ``qy_secret_access_key`` and ``zone`` , such as::\n\n  qy_access_key_id: 'QINGCLOUDACCESSKEYID'\n  qy_secret_access_key: 'QINGCLOUDSECRETACCESSKEYEXAMPLE'\n  zone: 'pek1'\n\naccess key can be applied for in `Qingcloud Console \u003chttps://console.qingcloud.com/access_keys/\u003e`_.\nzone is the Node ID where your resources are,\nand it can be checked in the switching node on the console,\nsuch as ``pek1``, ``pek2``, ``gd1``, ``ap1`` .\n\nThe configuration file is saved in ``~/.qingcloud/config.yaml`` by default,\nit also can be assigned by the parameter ``-f /path/to/config``\nwhen executing the command.\n\n\n----------------\nInput Parameters\n----------------\n\nFor iaas service, the parameters of qingcloud-cli only include ``int`` and ``string`` type.\nIf the parameters support the list passing,\nthe values shall be separated by *English comma* . For example::\n\n  qingcloud iaas describe-keypairs -k 'kp-bn2n77ow, kp-b2ivaf15' -L 2\n\nSometimes, the parameter needs to be string in JSON format, such as::\n\n  qingcloud iaas add-router-statics -r rtr-ba2nbge6 -s '[{\"static_type\":1,\"val1\":\"80\",\"val2\":\"192.168.99.2\",\"val3\":\"8000\"}]'\n\nFor qs service, the parameters include ``int``, ``string`` and ``list`` type.\nIf the parameters support the list passing,\nthe values shall be separated by *spaces*. For example::\n\n  qingcloud qs set-bucket-acl -b mybucket -A QS_ACL_EVERYONE,READ usr-wmTc0avW,FULL_CONTROL\n\n\n--------------\nCommand Output\n--------------\n\nThe returned result of Command is in JSON format.\nFor example, the returned result of describe-keypair of 'iaas' service.::\n\n  {\n    \"action\":\"DescribeKeyPairsResponse\",\n    \"total_count\":2,\n    \"keypair_set\":[\n      {\n        \"description\":null,\n        \"encrypt_method\":\"ssh-rsa\",\n        \"keypair_name\":\"kp 1\",\n        \"instance_ids\":[\n          \"i-ogbndull\"\n        ],\n        \"create_time\":\"2013-08-30T05:13:50Z\",\n        \"keypair_id\":\"kp-bn2n77ow\",\n        \"pub_key\":\"AAAAB3...\"\n      },\n      {\n        \"description\":null,\n        \"encrypt_method\":\"ssh-rsa\",\n        \"keypair_name\":\"kp 2\",\n        \"create_time\":\"2013-08-31T05:13:50Z\",\n        \"keypair_id\":\"kp-b2ivaf15\",\n        \"pub_key\":\"AAAAB3...\"\n      }\n    ],\n    \"ret_code\":0\n  }\n\nThe returned result of list-objects of 'qs' service.::\n\n  {\n    \"name\": \"mybucket\",\n    \"keys\": [\n      {\n        \"key\": \"myphoto.jpg\",\n        \"size\": 67540,\n        \"modified\": 1456226022,\n        \"mime_type\": \"image/jpeg\",\n        \"created\": \"2016-02-23T11:13:42.000Z\"\n      },\n      {\n        \"key\": \"mynote.txt\",\n        \"size\": 11,\n        \"modified\": 1456298679,\n        \"mime_type\": \"text/plain\",\n        \"created\": \"2016-02-24T06:49:23.000Z\"\n      }\n    ],\n    \"prefix\": \"\",\n    \"owner\": \"qingcloud\",\n    \"delimiter\": \"\",\n    \"limit\": 20,\n    \"marker\": \"mynote.txt\",\n    \"common_prefixes\": []\n  }\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyunify%2Fqingcloud-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyunify%2Fqingcloud-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyunify%2Fqingcloud-cli/lists"}