{ "info": { "author": "Pertino Inc.", "author_email": "developer@pertino.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Natural Language :: English", "Operating System :: Unix", "Programming Language :: Python", "Programming Language :: Unix Shell", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "pertinosdk\n==========\n\nWelcome to Pertino Python SDK\n\n\nExample Usage\n-------------\n\n.. code-block:: python\n\n\n '''\n Created on Jul 26, 2014\n \n @author: lwoydziak\n '''\n from pertinosdk import PertinoSdk, where\n from jsonconfigfile import Env\n \n def test_whenOrgsAvailableThenCanListThem():\n pertinoSdk = PertinoSdk(Env().get(\"Pertino\", \"login\"), Env().get(\"Pertino\", \"password\"))\n organizations = pertinoSdk.listOrgs()\n assert len(organizations) > 0\n \n def test_whenDevicesInOrganizationsThenCanListThem():\n pertinoSdk = PertinoSdk(Env().get(\"Pertino\", \"login\"), Env().get(\"Pertino\", \"password\"))\n organizations = pertinoSdk.listOrgs()\n devices = pertinoSdk.listDevicesIn(organizations[0])\n assert len(devices) > 0\n \n def test_deleteMachinesWithNameContainingAuto():\n pertinoSdk = PertinoSdk(Env().get(\"Pertino\", \"login\"), Env().get(\"Pertino\", \"password\"))\n organizations = pertinoSdk.listOrgs()\n devices = pertinoSdk.listDevicesIn(organizations[0], where(\"hostName\").contains(\"auto\"))\n pertinoSdk.deleteFrom(organizations[0], devices)\n assert not pertinoSdk.listDevicesIn(organizations[0], where(\"hostName\").contains(\"auto\"))\n \nTo Build\n--------\n\n.. code-block:: python\n\n ant env\n ant init\n ant package\n\nTo run unit tests\n--------------------------\n\n.. code-block:: python\n\n ant test\n\nTo run acceptance tests\n--------------------------------\n\nCreate a file with your Pertino credentials (see acceptance/conftest.py for format/name)\n\n.. code-block:: python\n\n ant acceptance", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/Pertino/pertino-sdk-python/tarball/0.1.1", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Pertino/pertino-sdk-python", "keywords": "pertino,sdk,api", "license": "LICENSE.txt", "maintainer": null, "maintainer_email": null, "name": "pertinosdk", "package_url": "https://pypi.org/project/pertinosdk/", "platform": "any", "project_url": "https://pypi.org/project/pertinosdk/", "project_urls": { "Download": "https://github.com/Pertino/pertino-sdk-python/tarball/0.1.1", "Homepage": "https://github.com/Pertino/pertino-sdk-python" }, "release_url": "https://pypi.org/project/pertinosdk/0.1.1/", "requires_dist": null, "requires_python": null, "summary": "Python package for communicating with Pertino.", "version": "0.1.1" }, "last_serial": 1217334, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "e769f387d518be54e7527f374cdf9553", "sha256": "a7cfe0a38a231a2b476f1fc70b40becf1cb5711b232523702c08b12e21c8e817" }, "downloads": -1, "filename": "pertinosdk-0.1.0.tar.gz", "has_sig": false, "md5_digest": "e769f387d518be54e7527f374cdf9553", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3506, "upload_time": "2014-08-28T23:38:14", "url": "https://files.pythonhosted.org/packages/9e/3d/f3f8e8e935c28adad076c25d8d7fef22bb6d0d9cf5806b1fa2eb0dd9eaf8/pertinosdk-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "2a0a88c5fd4be69a0b0104ba99165a5d", "sha256": "d9145bad2eedbd0747ccfa97323a33f68f4bca8a0c3e261f579f707101eb642b" }, "downloads": -1, "filename": "pertinosdk-0.1.1.tar.gz", "has_sig": false, "md5_digest": "2a0a88c5fd4be69a0b0104ba99165a5d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3542, "upload_time": "2014-09-08T19:20:38", "url": "https://files.pythonhosted.org/packages/72/a9/645897de9947e360c2395dbd3048add6fd5a221e48f995a0b3c6f6fa7d79/pertinosdk-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2a0a88c5fd4be69a0b0104ba99165a5d", "sha256": "d9145bad2eedbd0747ccfa97323a33f68f4bca8a0c3e261f579f707101eb642b" }, "downloads": -1, "filename": "pertinosdk-0.1.1.tar.gz", "has_sig": false, "md5_digest": "2a0a88c5fd4be69a0b0104ba99165a5d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3542, "upload_time": "2014-09-08T19:20:38", "url": "https://files.pythonhosted.org/packages/72/a9/645897de9947e360c2395dbd3048add6fd5a221e48f995a0b3c6f6fa7d79/pertinosdk-0.1.1.tar.gz" } ] }