{ "info": { "author": "Chang She", "author_email": "UNKNOWN", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Developers", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7" ], "description": "********************************\r\nposeidon: tame the digital ocean\r\n********************************\r\n\r\nPython library for managing your Digital Ocean account\r\n\r\n.. image:: https://pypip.in/v/poseidon/badge.png\r\n :target: https://crate.io/packages/poseidon/\r\n :alt: Latest PyPI version\r\n\r\n.. image:: https://pypip.in/d/poseidon/badge.png\r\n :target: https://crate.io/packages/poseidon/\r\n :alt: Number of PyPI downloads\r\n\r\nThe DigitalOcean API allows you to manage Droplets and resources within the\r\nDigitalOcean cloud in a simple, programmatic way using conventional HTTP\r\nrequests. The endpoints are intuitive and powerful, allowing you to easily make\r\ncalls to retrieve information or to execute actions.\r\n\r\nThis library starts with a python wrapper for the API and aims to build tools to\r\nmake it easier to manage, provision, and deploy to Digital Ocean.\r\n\r\nHighlights\r\n==========\r\n\r\n- **Full featured**: API wrapper covering the published DigitalOcean API v2\r\n\r\n- **Tested**: integration test coverage against most of the API\r\n\r\n- **SSH integration**: integrates ``paramiko`` library so you can SSH in and issue commands\r\n\r\n- **Deployment conveniences**: methods like ``apt``, ``pip``, and ``git`` for easier deployment\r\n\r\nExample\r\n=======\r\n\r\nDeploy a new Flask app from github\r\n\r\n.. code:: python\r\n\r\n import poseidon as P\r\n client = P.connect()\r\n ssh_key_id = client.keys.list()[0]['id']\r\n droplet = client.droplets.create('example.changshe.io', 'sfo1', '512mb',\r\n 'ubuntu-14-04-x64', ssh_keys=[ssh_key_id])\r\n domain = client.domains.create('example.changshe.io', droplet.ip_address)\r\n records = client.domains.records(domain['name'])\r\n records.create('A', data=droplet.ip_address)\r\n ssh = droplet.connect()\r\n ssh.apt('git python-pip')\r\n ssh.git(username='changhiskhan', repo='hello_world')\r\n ssh.chdir('hello_world')\r\n ssh.pip_r('requirements.txt')\r\n ssh.nohup('python app.py') # DNS takes a while to propagate\r\n print ssh.ps()", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/changhiskhan/poseidon/archive/0.3.1.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/changhiskhan/poseidon", "keywords": "digitalocean,digital ocean,digital,ocean,api,v2,web programming,cloud,digitalocean api v2", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "poseidon", "package_url": "https://pypi.org/project/poseidon/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/poseidon/", "project_urls": { "Download": "https://github.com/changhiskhan/poseidon/archive/0.3.1.tar.gz", "Homepage": "https://github.com/changhiskhan/poseidon" }, "release_url": "https://pypi.org/project/poseidon/0.3.1/", "requires_dist": null, "requires_python": null, "summary": "DigitalOcean API v2 with SSH integration", "version": "0.3.1" }, "last_serial": 1196124, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "ddd577845e15a2395bcf30d8362bce60", "sha256": "b31946e4dc31658a2c80a7ac9ab7bb10d33dde5e9bb02788ba4d8030e0425c7f" }, "downloads": -1, "filename": "poseidon-0.1.0.tar.gz", "has_sig": false, "md5_digest": "ddd577845e15a2395bcf30d8362bce60", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7169, "upload_time": "2014-08-05T20:27:06", "url": "https://files.pythonhosted.org/packages/11/3a/75b6948ee823d02124f6bf981f75ba983d115704adaee49e47d0b05e8658/poseidon-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "b6124bba5f216b60c1991c7e19587693", "sha256": "659052c7f889d0a17a4ecca19f9f855fba80100cd85bb20eda24505af97e1ab4" }, "downloads": -1, "filename": "poseidon-0.2.0.tar.gz", "has_sig": false, "md5_digest": "b6124bba5f216b60c1991c7e19587693", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7304, "upload_time": "2014-08-06T03:10:37", "url": "https://files.pythonhosted.org/packages/4f/64/ce7495296730852eb072448d58e43e48250966fe2e99ab154e01475311a0/poseidon-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "98c13072125dfbe6ac2fbdc80cb73298", "sha256": "b6167abf131f7643837e44fd7ebab107e74d38aeb24ccefe7ff05e7535733155" }, "downloads": -1, "filename": "poseidon-0.3.0.tar.gz", "has_sig": false, "md5_digest": "98c13072125dfbe6ac2fbdc80cb73298", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8541, "upload_time": "2014-08-09T18:30:22", "url": "https://files.pythonhosted.org/packages/47/5f/5cad465467e3219b8878e2e99f1aca83d605278c09f2777640349f9a2cd0/poseidon-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "27e7fc2b06bca37509d27013cb0f7de6", "sha256": "a567c5b5ab6cd23857754b734b014cafee2053c31ca5171615f0752188e600d5" }, "downloads": -1, "filename": "poseidon-0.3.1.tar.gz", "has_sig": false, "md5_digest": "27e7fc2b06bca37509d27013cb0f7de6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11559, "upload_time": "2014-08-19T23:54:26", "url": "https://files.pythonhosted.org/packages/6a/f3/2d69dd0cfedb83e1865e9940dde829bc61071562f62334e23927a974a68d/poseidon-0.3.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "27e7fc2b06bca37509d27013cb0f7de6", "sha256": "a567c5b5ab6cd23857754b734b014cafee2053c31ca5171615f0752188e600d5" }, "downloads": -1, "filename": "poseidon-0.3.1.tar.gz", "has_sig": false, "md5_digest": "27e7fc2b06bca37509d27013cb0f7de6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11559, "upload_time": "2014-08-19T23:54:26", "url": "https://files.pythonhosted.org/packages/6a/f3/2d69dd0cfedb83e1865e9940dde829bc61071562f62334e23927a974a68d/poseidon-0.3.1.tar.gz" } ] }