{ "info": { "author": "Omni Digital", "author_email": "developers@omni-digital.co.uk", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: End Users/Desktop", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Utilities" ], "description": "do-audit\n========\n\n|Build status| |PyPI version| |Python versions| |License|\n\nAudit your Digital Ocean account and make sure you know what's up.\n\nThe script can currently list your droplets and domains information and\nhas a ``ping-domains`` command which sends a test request to all your\ndomains and checks the response for you.\n\nBuilt to suit our own needs - which it did - but feel free to propose or\nimplement new features.\n\nInstallation\n------------\n\n>From PyPI (recommended):\n\n.. code:: shell\n\n $ pip install do-audit\n\nWith ``git clone``:\n\n.. code:: shell\n\n $ git clone https://github.com/omni-digital/do-audit\n $ pip install -r do-audit/requirements.txt\n $ cd do-audit/bin\n\nUsage\n-----\n\nTo use the script you'll need Digital Ocean `access\ntoken `__\nand either save it as an environment variable\n(``$ export DO_ACCESS_TOKEN='...'``) or pass it explicitly\n(``do-audit -t '...'``) with each command. Everything else should be\npretty straightforward:\n\n::\n\n $ do-audit --help \n Usage: do-audit [OPTIONS] COMMAND [ARGS]...\n\n Simple command line interface for doing an audit of your Digital Ocean\n account and making sure you know what's up.\n\n See https://github.com/omni-digital/do-audit for more info.\n\n Options:\n -t, --access-token TEXT Digital Ocean API access token.\n -o, --output-file FILENAME Output file path.\n -f, --data-format [json|xls|yaml|csv|dbf|tsv|html|latex|xlsx|ods]\n Output file dat format.\n -v, --verbose Show extra information.\n --help Show this message and exit.\n\n Commands:\n account Show basic account info\n domains List your domains\n droplets List your droplets\n ping-domains Ping your domains and see what's the response\n\nExamples\n--------\n\nThe script has four subcommands, all with the same available options:\n\n::\n\n $ do-audit account\n Email: user@example.com\n Status: active\n Droplet limit: 25\n\nEach command has a ``--verbose`` option that shows more information:\n\n::\n\n $ do-audit account -v\n Email: user@example.com\n Status: active\n Droplet limit: 25\n Floating IP limit: 3\n UUID: uuid\n\nBoth ``domains`` and ``droplets`` subcommands work the same way:\n\n::\n\n $ do-audit droplets\n # ubuntu-512mb-lon1-01 (active)\n OS: Ubuntu 16.04.2x 64\n IP: 192.168.1.0\n CPU: 1\n Memory: 512 MB\n Disk: 20 GB\n URL: https://cloud.digitalocean.com/droplets/2/graphs\n Created at: Mon, 05/08/17 12:52:22\n\n $ do-audit domains\n # example.com\n @ A 192.168.0.1\n blog A 192.168.0.1\n\n # example.co.uk\n @ A 192.168.0.2\n www A 192.168.0.2\n\nAll commands can be exported to a file:\n\n::\n\n $ do-audit account -o account.csv\n CSV data was successfully exported to 'account.csv'\n\n $ cat account.csv\n Email,Status,Droplet limit\n user@example.com,active,25\n\n $ do-audit droplets -o droplets.csv -f json\n JSON data was successfully exported to 'droplets.json'\n\nTests\n-----\n\nPackage was tested with the help of ``py.test`` and ``tox`` on Python\n2.7, 3.4, 3.5 and 3.6 (see ``tox.ini``).\n\nTo run tests yourself you need to run ``tox`` inside the repository:\n\n.. code:: shell\n\n $ pip install tox\n $ tox\n\nContributions\n-------------\n\nPackage source code is available at\n`GitHub `__.\n\nFeel free to use, ask, fork, star, report bugs, fix them, suggest\nenhancements, add functionality and point out any mistakes. Thanks!\n\nAuthors\n-------\n\nDeveloped and maintained by `Omni\nDigital `__.\n\nReleased under `MIT\nLicense `__.\n\n.. |Build status| image:: https://img.shields.io/travis/omni-digital/do-audit.svg\n :target: https://travis-ci.org/omni-digital/do-audit\n.. |PyPI version| image:: https://img.shields.io/pypi/v/do-audit.svg\n :target: https://pypi.python.org/pypi/do-audit\n.. |Python versions| image:: https://img.shields.io/pypi/pyversions/do-audit.svg\n :target: https://pypi.python.org/pypi/do-audit\n.. |License| image:: https://img.shields.io/github/license/omni-digital/do-audit.svg\n :target: https://github.com/omni-digital/do-audit/blob/master/LICENSE\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/omni-digital/do-audit/releases/latest", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/omni-digital/do-audit", "keywords": "digital ocean audit do cli", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "do-audit", "package_url": "https://pypi.org/project/do-audit/", "platform": "", "project_url": "https://pypi.org/project/do-audit/", "project_urls": { "Download": "https://github.com/omni-digital/do-audit/releases/latest", "Homepage": "https://github.com/omni-digital/do-audit" }, "release_url": "https://pypi.org/project/do-audit/0.1.1/", "requires_dist": [ "click (>=6.7)", "dnspython (>=1.15.0)", "python-dateutil (>=2.6.0)", "python-digitalocean (>=1.11)", "requests (>=2.18.1)", "six (>=1.10.0)", "tablib (>=0.11.5)", "pytest; extra == 'testing'", "pytest-mock; extra == 'testing'" ], "requires_python": "", "summary": "Audit your Digital Ocean account and make sure you know what's up", "version": "0.1.1" }, "last_serial": 2959911, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "90b4c168309dab93e97bf5060921d31d", "sha256": "b66eb0f0a9e93a04b10aeb3fd64b07097c20a4197b4785ed0614651f54e69c81" }, "downloads": -1, "filename": "do_audit-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "90b4c168309dab93e97bf5060921d31d", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 19786, "upload_time": "2017-06-19T15:35:09", "url": "https://files.pythonhosted.org/packages/56/31/e91743bdb923cb6dace99feedaa766ee3d0ff67709d2bf6bbc90b959d536/do_audit-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "dabd8061b6a8fc0e8dcc6ae2490b9ff9", "sha256": "655b95c8ebcc1faaef4202a895c853cd6679a93ac9b1e4edd9c68fbfe97f1ba8" }, "downloads": -1, "filename": "do-audit-0.1.0.tar.gz", "has_sig": false, "md5_digest": "dabd8061b6a8fc0e8dcc6ae2490b9ff9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14317, "upload_time": "2017-06-19T15:35:11", "url": "https://files.pythonhosted.org/packages/19/21/ed1e2cce0b5123b29af3b07f98d3a9d57d793a47947cadb427694b4f5037/do-audit-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "a704bb37d9dae3aca220f04f90e8f6d2", "sha256": "47566a6a472bc784c0c7fd6a4a192d2b2299641adc48129d3ad1aafb5b7e1e1e" }, "downloads": -1, "filename": "do_audit-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a704bb37d9dae3aca220f04f90e8f6d2", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 19718, "upload_time": "2017-06-19T15:51:55", "url": "https://files.pythonhosted.org/packages/ca/34/5983d5a893b75516a7bfa454fd944d85ce0164f2086feb4a2a0b19e52d4f/do_audit-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "41ec98df13ec6637bb28581e2507eb99", "sha256": "c98c22a33abf0fab3af572e9630d31dd250d4f24469fb4cfc1b5f97159332a71" }, "downloads": -1, "filename": "do-audit-0.1.1.tar.gz", "has_sig": false, "md5_digest": "41ec98df13ec6637bb28581e2507eb99", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14276, "upload_time": "2017-06-19T15:51:57", "url": "https://files.pythonhosted.org/packages/47/7a/cbd4f7dc1c7609f885a4cf48643798727bc026744f890e74c1111c504235/do-audit-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a704bb37d9dae3aca220f04f90e8f6d2", "sha256": "47566a6a472bc784c0c7fd6a4a192d2b2299641adc48129d3ad1aafb5b7e1e1e" }, "downloads": -1, "filename": "do_audit-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a704bb37d9dae3aca220f04f90e8f6d2", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 19718, "upload_time": "2017-06-19T15:51:55", "url": "https://files.pythonhosted.org/packages/ca/34/5983d5a893b75516a7bfa454fd944d85ce0164f2086feb4a2a0b19e52d4f/do_audit-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "41ec98df13ec6637bb28581e2507eb99", "sha256": "c98c22a33abf0fab3af572e9630d31dd250d4f24469fb4cfc1b5f97159332a71" }, "downloads": -1, "filename": "do-audit-0.1.1.tar.gz", "has_sig": false, "md5_digest": "41ec98df13ec6637bb28581e2507eb99", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14276, "upload_time": "2017-06-19T15:51:57", "url": "https://files.pythonhosted.org/packages/47/7a/cbd4f7dc1c7609f885a4cf48643798727bc026744f890e74c1111c504235/do-audit-0.1.1.tar.gz" } ] }