{ "info": { "author": "Sebastian Tello", "author_email": "argos83@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Other Environment", "Intended Audience :: Developers", "Intended Audience :: Information Technology", "Intended Audience :: Science/Research", "Intended Audience :: System Administrators", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.5", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Software Development :: Quality Assurance", "Topic :: Software Development :: Testing", "Topic :: System :: Distributed Computing", "Topic :: System :: Emulators", "Topic :: System :: Operating System", "Topic :: System :: Systems Administration", "Topic :: Utilities" ], "description": "========\r\nPySphere \r\n========\r\nPython API for interacting with the vSphere Web Services SDK.\r\n-------------------------------------------------------------\r\n\r\nVisit the project_ site for more information.\r\n\r\n.. _project: http://pysphere.googlecode.com\r\n\r\n**Among other operations, PySphere provides easy interfaces to:**\r\n\r\n- Connect to VMWare's ESX, ESXi, Virtual Center, Virtual Server hosts \r\n- Query hosts, datacenters, resource pools, virtual machines\r\n- VMs: Power on, power off, reset, revert to snapshot, get properties, update \r\n vmware tools, clone, migrate.\r\n- vSphere 5.0 Guest Operations: create/delete/move files and directories.\r\n upload/download files from the guest system. List/start/stop processes in \r\n the guest system.\r\n- Create and delete snapshots\r\n- Get hosts statistics and monitor performance\r\n\r\nAn of course, you can use it to access all the vSphere API through python.\r\n\r\nIt's built upon a slightly modified version of ZSI_ (that comes bundled-in) \r\nwhich makes it really fast in contrast to other python SOAP libraries that don't\r\nprovide code generation.\r\n\r\n.. _ZSI: http://pywebsvcs.sourceforge.net/zsi.html\r\n\r\nInstallation\r\n------------\r\n\r\nThe simplest way is using setuptools_' easy_install:\r\n\r\n.. _setuptools: http://pypi.python.org/pypi/setuptools\r\n\r\n::\r\n\r\n easy_install -U pysphere\r\n\r\nOr using the pip_:\r\n\r\n.. _pip: http://pypi.python.org/pypi/pip\r\n\r\n::\r\n\r\n pip install -U pysphere\r\n\r\nYou can aslo find the source package and windows installer in the downloads_ \r\nsection. To install it from the source package:\r\n\r\n.. _downloads: http://code.google.com/p/pysphere/downloads/list\r\n\r\n1. Unzip the package\r\n2. run: ``python setup.py install``\r\n\r\nQuick Example\r\n-------------\r\n\r\nHere's how you power on a virtual machine. See also the `getting started`_ guide\r\nand the project's wiki_ with the full documentation.\r\n\r\n.. _getting started: http://code.google.com/p/pysphere/wiki/GettingStarted\r\n.. _wiki: http://code.google.com/p/pysphere/w/list\r\n\r\n>>> from pysphere import VIServer\r\n>>> server = VIServer()\r\n>>> server.connect(\"my.esx.host.com\", \"myusername\", \"secret\")\r\n>>> vm = server.get_vm_by_path(\"[datastore] path/to/file.vmx\")\r\n>>> vm.power_on()\r\n>>> print vm.get_status()\r\nPOWERED ON\r\n\r\nDiscussion Group\r\n----------------\r\n\r\nYou can find a lot more examples and use cases in the `discussion group`_\r\n\r\n.. _discussion group: http://groups.google.com/group/pysphere\r\n\r\nLicense\r\n-------\r\n\r\nCopyright (c) 2012, Sebastian Tello\r\nAll rights reserved.\r\n\r\nRedistribution and use in source and binary forms, with or without\r\nmodification, are permitted provided that the following conditions are met:\r\n\r\n * Redistributions of source code must retain the above copyright notice,\r\n this list of conditions and the following disclaimer.\r\n * Redistributions in binary form must reproduce the above copyright notice,\r\n this list of conditions and the following disclaimer in the documentation\r\n and/or other materials provided with the distribution.\r\n * Neither the name of copyright holders nor the names of its contributors\r\n may be used to endorse or promote products derived from this software\r\n without specific prior written permission.\r\n\r\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\r\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\r\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\r\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\r\nFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\r\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\r\nSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\r\nCAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\r\nOR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\r\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\r\n\r\n\r\n\r\nZSI License\r\n-----------\r\n\r\nCopyright (c) 2003, The Regents of the University of California,\r\nthrough Lawrence Berkeley National Laboratory (subject to receipt of\r\nany required approvals from the U.S. Dept. of Energy). All rights\r\nreserved. Redistribution and use in source and binary forms, with or\r\nwithout modification, are permitted provided that the following\r\nconditions are met:\r\n\r\n(1) Redistributions of source code must retain the above copyright\r\nnotice, this list of conditions and the following disclaimer.\r\n(2) Redistributions in binary form must reproduce the above copyright\r\nnotice, this list of conditions and the following disclaimer in the\r\ndocumentation and/or other materials provided with the distribution.\r\n(3) Neither the name of the University of California, Lawrence Berkeley\r\nNational Laboratory, U.S. Dept. of Energy nor the names of its contributors\r\nmay be used to endorse or promote products derived from this software without\r\nspecific prior written permission.\r\n\r\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\r\n\"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED\r\nTO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\r\nPURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS\r\nBE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\r\nCONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\r\nGOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\r\nHOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\r\nLIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\r\nOUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\r\nSUCH DAMAGE.\r\n\r\nYou are under no obligation whatsoever to provide any bug fixes,\r\npatches, or upgrades to the features, functionality or performance of\r\nthe source code (\"Enhancements\") to anyone; however, if you choose to\r\nmake your Enhancements available either publicly, or directly to\r\nLawrence Berkeley National Laboratory, without imposing a separate\r\nwritten license agreement for such Enhancements, then you hereby grant\r\nthe following license: a non-exclusive, royalty-free perpetual license\r\nto install, use, modify, prepare derivative works, incorporate into\r\nother computer software, distribute, and sublicense such Enhancements\r\nor derivative works thereof, in binary and source code form.", "description_content_type": null, "docs_url": null, "download_url": "http://pysphere.googlecode.com/files/pysphere-0.1.8.zip", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://pysphere.googlecode.com", "keywords": "vSphere,Virtual,vmware,ESX,ESXi,VirtualCenter,SDK,API", "license": "New BSD License", "maintainer": null, "maintainer_email": null, "name": "pysphere", "package_url": "https://pypi.org/project/pysphere/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pysphere/", "project_urls": { "Download": "http://pysphere.googlecode.com/files/pysphere-0.1.8.zip", "Homepage": "http://pysphere.googlecode.com" }, "release_url": "https://pypi.org/project/pysphere/0.1.8/", "requires_dist": null, "requires_python": null, "summary": "Python API for interacting with the vSphere Web Services SDK", "version": "0.1.8" }, "last_serial": 847163, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "ba004e24c1e4b67fcc5939f724bc13be", "sha256": "893e1479939a7d24137256274e274c8a26dae9cea80a1321252c6e0e335362dd" }, "downloads": -1, "filename": "pysphere-0.1.0.win32.exe", "has_sig": false, "md5_digest": "ba004e24c1e4b67fcc5939f724bc13be", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 530498, "upload_time": "2011-11-15T19:14:18", "url": "https://files.pythonhosted.org/packages/34/b8/80b26051f48d06e521e173ccb0b4d60fe156dcef765a01c4f096e92d3bda/pysphere-0.1.0.win32.exe" }, { "comment_text": "", "digests": { "md5": "2e31e4d08708d333f02e28ca5c2b9576", "sha256": "b0798d4c71dd17f86b34859101ccc8ed5a593ad07d762f6139d39cd6a5a945d3" }, "downloads": -1, "filename": "pysphere-0.1.0.zip", "has_sig": false, "md5_digest": "2e31e4d08708d333f02e28ca5c2b9576", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 467669, "upload_time": "2011-11-15T19:14:52", "url": "https://files.pythonhosted.org/packages/e5/13/f9b9d27c8ff6d71c17a52f499fbeabade2e3e3d77f3792d5733697019108/pysphere-0.1.0.zip" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "44aeccdd4d08b6757c313f623410920e", "sha256": "0b7f4fa9e58608d43f8399479b22382e1d5c36118ad2ec1494b08db7f6427664" }, "downloads": -1, "filename": "pysphere-0.1.5.win32.exe", "has_sig": false, "md5_digest": "44aeccdd4d08b6757c313f623410920e", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 575799, "upload_time": "2011-12-05T19:24:58", "url": "https://files.pythonhosted.org/packages/8d/ca/e160beffd20ad37cc2814fed65b93870cfd523369a30f6326b275b3c9817/pysphere-0.1.5.win32.exe" }, { "comment_text": "", "digests": { "md5": "c43a884f9ede5defeb399b3b5173a2a7", "sha256": "caee69bad6933e587fa34db75cced58b9a6d8d404b6c0f3bb5592134da05d045" }, "downloads": -1, "filename": "pysphere-0.1.5.zip", "has_sig": false, "md5_digest": "c43a884f9ede5defeb399b3b5173a2a7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 516351, "upload_time": "2011-12-05T19:24:40", "url": "https://files.pythonhosted.org/packages/2f/a7/6a25c819a40d1464d816d69ec9cec2f61007c18a585093daf71bc4a21cf2/pysphere-0.1.5.zip" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "3e3a41f5be9bb378072f1aab4574a7f6", "sha256": "4d65098544be21a7857d9fbad224a70c1114f8b243ba9d69a2106ef2dc6df698" }, "downloads": -1, "filename": "pysphere-0.1.6.win32.exe", "has_sig": false, "md5_digest": "3e3a41f5be9bb378072f1aab4574a7f6", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 716995, "upload_time": "2012-02-07T18:23:52", "url": "https://files.pythonhosted.org/packages/a5/f6/2ff820b50f5d68461a0bc67016291d3d061a7bab0c3d5e6d4cbe0095cd93/pysphere-0.1.6.win32.exe" }, { "comment_text": "", "digests": { "md5": "5866758c6f16c2ea0ac38ba010795848", "sha256": "29869f9a4f8399d0207e4d639ac2523d66c7b1401f0340ecfacde705c5b49e05" }, "downloads": -1, "filename": "pysphere-0.1.6.zip", "has_sig": false, "md5_digest": "5866758c6f16c2ea0ac38ba010795848", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 527892, "upload_time": "2012-02-07T18:23:06", "url": "https://files.pythonhosted.org/packages/16/a3/eb97ef9e0173781383d24b9439d3ecf4a312f51a1bf3d5c96fa5a6c40f14/pysphere-0.1.6.zip" } ], "0.1.7": [ { "comment_text": "", "digests": { "md5": "37897d6590d3422abfc3e3fae5f04852", "sha256": "2d0a4c6c39cf9564b1b1099a6207e7af5811023fd2e4a5467c82f31eaf7f360f" }, "downloads": -1, "filename": "pysphere-0.1.7.win32.exe", "has_sig": false, "md5_digest": "37897d6590d3422abfc3e3fae5f04852", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 702799, "upload_time": "2012-10-02T12:57:07", "url": "https://files.pythonhosted.org/packages/a5/92/dd9e21118a2091f5e9718dbf3f9b77d8abb91d265b07fba60f0d64f0dedc/pysphere-0.1.7.win32.exe" }, { "comment_text": "", "digests": { "md5": "88979c946c69788a0bcc289d0195c675", "sha256": "cef3cb3a6836f1cf092caf4613123d084f36b0e96fa48a27708c0e868df8a1ea" }, "downloads": -1, "filename": "pysphere-0.1.7.zip", "has_sig": false, "md5_digest": "88979c946c69788a0bcc289d0195c675", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 516848, "upload_time": "2012-10-02T12:56:21", "url": "https://files.pythonhosted.org/packages/a3/53/582ad19aae059b777f1105e6c7f6fa96f2ab6e7f018d94497fbe1518548d/pysphere-0.1.7.zip" } ], "0.1.8": [] }, "urls": [] }