conoha-cli
==========
**注意**:
このプロジェクトは長い間メンテナンスされていません。
conoha-cliの代わりに `python-openstackclient <https://pypi.org/project/python-openstackclient/>`_ を使うことをお勧めします。
他の選択肢は `giginc/conoha <https://github.com/giginc/conoha>`_ です。もしメンテナンスを引き継ぎたい方がいらっしゃったら、私に連絡をしてください。
**conoha-cli** は `ConoHa <https://www.conoha.jp/>`_ API のコマンドラインインターフェースとPython3用ライブラリです。
インストール
============
`conoha-cli` はこのコマンドを実行するとインストールでいます::
$ pip3 install conoha-cli
次に、`~/.config/conoha/config` へこのようなファイルを作成してください。
user, passwd, tenantは、`Conohaコントロールパネルから作成したAPIユーザ <https://www.conoha.jp/guide/g-46.html>`_ の値を入力してください。::
[api]
user = xxxxx
passwd = xxxxx
tenant = xxxxx
使い方
======
VPSの一覧を確認する::
$ conoha-cli compute list-vms
マシンリーダブルな形式でも出力できます::
$ conoha-cli --format plain --header no compute list-vms
VPSを起動・終了・削除する::
$ conoha-cli compute start-vm $VM_NAME
$ conoha-cli compute stop-vm $VM_NAME
$ conoha-cli compute delete-vm $VM_NAME
ライセンス
==========
MIT
Raw data
{
"_id": null,
"home_page": "https://github.com/yuuki0xff/conoha-cli",
"name": "conoha-cli",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "conoha cli api library cloud",
"author": "yuuki0xff",
"author_email": "yuuki0xff@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/c8/14/a4d07f175e8032d624abf969dec39c433f880c9802e0938d9222d2e2a689/conoha-cli-0.3.0.tar.gz",
"platform": null,
"description": "conoha-cli\n==========\n\n**\u6ce8\u610f**:\n\u3053\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306f\u9577\u3044\u9593\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002\nconoha-cli\u306e\u4ee3\u308f\u308a\u306b `python-openstackclient <https://pypi.org/project/python-openstackclient/>`_ \u3092\u4f7f\u3046\u3053\u3068\u3092\u304a\u52e7\u3081\u3057\u307e\u3059\u3002\n\u4ed6\u306e\u9078\u629e\u80a2\u306f `giginc/conoha <https://github.com/giginc/conoha>`_ \u3067\u3059\u3002\u3082\u3057\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u3092\u5f15\u304d\u7d99\u304e\u305f\u3044\u65b9\u304c\u3044\u3089\u3063\u3057\u3083\u3063\u305f\u3089\u3001\u79c1\u306b\u9023\u7d61\u3092\u3057\u3066\u304f\u3060\u3055\u3044\u3002\n\n**conoha-cli** \u306f `ConoHa <https://www.conoha.jp/>`_ API \u306e\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3068Python3\u7528\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u3059\u3002\n\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\n============\n`conoha-cli` \u306f\u3053\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u3044\u307e\u3059::\n\n $ pip3 install conoha-cli\n\n\u6b21\u306b\u3001`~/.config/conoha/config` \u3078\u3053\u306e\u3088\u3046\u306a\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u3066\u304f\u3060\u3055\u3044\u3002\nuser, passwd, tenant\u306f\u3001`Conoha\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u30d1\u30cd\u30eb\u304b\u3089\u4f5c\u6210\u3057\u305fAPI\u30e6\u30fc\u30b6 <https://www.conoha.jp/guide/g-46.html>`_ \u306e\u5024\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002::\n\n [api]\n user = xxxxx\n passwd = xxxxx\n tenant = xxxxx\n\n\u4f7f\u3044\u65b9\n======\nVPS\u306e\u4e00\u89a7\u3092\u78ba\u8a8d\u3059\u308b::\n\n $ conoha-cli compute list-vms\n\n\u30de\u30b7\u30f3\u30ea\u30fc\u30c0\u30d6\u30eb\u306a\u5f62\u5f0f\u3067\u3082\u51fa\u529b\u3067\u304d\u307e\u3059::\n\n $ conoha-cli --format plain --header no compute list-vms\n\nVPS\u3092\u8d77\u52d5\u30fb\u7d42\u4e86\u30fb\u524a\u9664\u3059\u308b::\n\n $ conoha-cli compute start-vm $VM_NAME\n $ conoha-cli compute stop-vm $VM_NAME\n $ conoha-cli compute delete-vm $VM_NAME\n\n\u30e9\u30a4\u30bb\u30f3\u30b9\n==========\nMIT\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "conoha-cli is a command and Python3 library for ConoHa API.",
"version": "0.3.0",
"split_keywords": [
"conoha",
"cli",
"api",
"library",
"cloud"
],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "294f816a6a66505b733769257112db31",
"sha256": "d07bef4a9364af1afb3a26c66efc59f5013166164dcca64fb0efe780c53f5510"
},
"downloads": -1,
"filename": "conoha-cli-0.3.0.tar.gz",
"has_sig": false,
"md5_digest": "294f816a6a66505b733769257112db31",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 22573,
"upload_time": "2022-12-09T13:24:39",
"upload_time_iso_8601": "2022-12-09T13:24:39.254355Z",
"url": "https://files.pythonhosted.org/packages/c8/14/a4d07f175e8032d624abf969dec39c433f880c9802e0938d9222d2e2a689/conoha-cli-0.3.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-12-09 13:24:39",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "yuuki0xff",
"github_project": "conoha-cli",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "conoha-cli"
}