{ "info": { "author": "Nicolas Crocfer", "author_email": "nicolas.crocfer@corp.ovh.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4" ], "description": "OVH Cli\n=======\n\nOVH Command Line Interface.\n\n.. code::\n\n $ ovh webhosting config mydomain.fr\n +---------+-------------+----------------+---------------+------+--------+----------+\n | #ID | Environment | Engine version | Container | Path | Engine | Firewall |\n +---------+-------------+----------------+---------------+------+--------+----------+\n | 1994114 | production | 5.6 | stable | | php | security |\n +---------+-------------+----------------+---------------+------+--------+----------+\n\n $ ovh webhosting config:update mydomain.fr --engine-version=7.0\n [*] The configuration will be updated in a few seconds.\n\n $ ovh webhosting config mydomain.fr\n +---------+-------------+----------------+---------------+------+--------+----------+\n | #ID | Environment | Engine version | Container | Path | Engine | Firewall |\n +---------+-------------+----------------+---------------+------+--------+----------+\n | 2023413 | production | 7.0 | stable | | php | security |\n +---------+-------------+----------------+---------------+------+--------+----------+\n\nInstallation\n============\n\nThe OVH Cli works with Python 2.7+ and Python 3.3+.\n\nThe easiest way to get the latest stable release is to grab it from `pypi\n`_ using ``pip`` :\n\n.. code:: bash\n\n $ pip install ovhcli\n\nOr if you are not using a ``virtualenv`` :\n\n.. code:: bash\n\n $ sudo pip install ovhcli\n\nIf you want to upgrade it :\n\n.. code:: bash\n\n $ pip install --upgrade ovhcli\n\nAlternatively, you may get latest development version directly from Git :\n\n.. code:: bash\n\n $ pip install -e git+https://github.com/ovh/ovh-cli.git#egg=ovh-cli\n\nGetting started\n===============\n\nThe Cli uses the public OVH API to manage the user products. A ``setup`` command\nis provided to help you creating the required tokens :\n\n.. code::\n\n $ ovh setup init\n Welcome to the OVH Cli.\n\n This tool uses the public OVH API to manage your products. In order to\n work, 3 tokens that you must generate are required :\n\n - the application key (AK)\n - the application secret (AS)\n - the consumer key (CK)\n\n What's your context :\n\n 1) You already have the keys (AK, AS and CK)\n 2) You just have AK and AS, the CK must be generated\n 3) You have no keys\n\n Your choice [1]: 3\n\n [-] Please visit the following link to authenticate you and obtain your keys (AK, AS and CK) :\n [-] https://api.ovh.com/createToken/index.cgi?GET=/*&POST=/*&PUT=/*&DELETE=/*\n Press any key to continue ...\n\n Endpoint [ovh-eu]: ovh-eu\n Application key: \n Application secret: \n Consumer key: \n [*] Configuration file created.\n\nCommands help\n=============\n\nEach command and subcommand provides a ``--help`` parameter :\n\n.. code::\n\n $ ovh webhosting --help\n Usage: ovh webhosting [OPTIONS] COMMAND [ARGS]...\n\n Manage and configure your WebHosting products.\n\n Options:\n --help Show this message and exit.\n\n Commands:\n config Display the ovhConfig information.\n config:update Update the ovhConfig information.\n info Display information about a service.\n info:countries Display the service countries.\n info:quota Display the service quota.\n list List the services.\n users List the users of a service.\n users:create Add a new user to a service.\n users:remove Remove a user from a service.\n users:show Information about a user.\n users:update Update an existing user.\n\nJSON output\n===========\n\nBy default, the OVH Cli displays the output in a pretty table representation. When it's possible, a ``--json`` parameter is provided to return the content as pure JSON :\n\n.. code::\n\n $ ovh webhosting users mydomain.fr --full\n +-------------+------+-------+--------+-----------------+\n | Login | Home | State | Ssh | Primary account |\n +-------------+------+-------+--------+-----------------+\n | johndoe | . | rw | active | True |\n | johndoe-foo | foo | rw | none | False |\n +-------------+------+-------+--------+-----------------+\n\n $ ovh webhosting users mydomain.fr --full --json\n [{\"iisRemoteRights\": null, \"sshState\": \"none\", \"webDavRights\": null, \"login\": \"johndoe-foo\", \"isPrimaryAccount\": false, \"state\": \"rw\", \"home\": \"foo\"}, {\"iisRemoteRights\": null, \"sshState\": \"active\", \"webDavRights\": null, \"login\": \"johndoe\", \"isPrimaryAccount\": true, \"state\": \"rw\", \"home\": \".\"}]\n\nContributing\n============\n\nSee `CONTRIBUTING.rst `_ for contribution guidelines.\n\nLicense\n=======\n\n3-Clause BSD", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/ovh/ovhcli", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "ovhcli", "package_url": "https://pypi.org/project/ovhcli/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/ovhcli/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/ovh/ovhcli" }, "release_url": "https://pypi.org/project/ovhcli/0.0.1/", "requires_dist": null, "requires_python": null, "summary": "OVH Command Line Interface", "version": "0.0.1" }, "last_serial": 2321365, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "49b4d30e91c2688f52c39524a9fb5e69", "sha256": "38b974af8a20c3f5498b2a29219502c938b4d7c2bf2b2497a1e5fb31f6924460" }, "downloads": -1, "filename": "ovhcli-0.0.1.tar.gz", "has_sig": false, "md5_digest": "49b4d30e91c2688f52c39524a9fb5e69", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19441, "upload_time": "2016-09-02T13:44:08", "url": "https://files.pythonhosted.org/packages/7f/e3/7dfc2f70b723b1bb99a7cc5bd37cf4c363ebe291454983a228c49e74fb85/ovhcli-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "49b4d30e91c2688f52c39524a9fb5e69", "sha256": "38b974af8a20c3f5498b2a29219502c938b4d7c2bf2b2497a1e5fb31f6924460" }, "downloads": -1, "filename": "ovhcli-0.0.1.tar.gz", "has_sig": false, "md5_digest": "49b4d30e91c2688f52c39524a9fb5e69", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19441, "upload_time": "2016-09-02T13:44:08", "url": "https://files.pythonhosted.org/packages/7f/e3/7dfc2f70b723b1bb99a7cc5bd37cf4c363ebe291454983a228c49e74fb85/ovhcli-0.0.1.tar.gz" } ] }