{ "info": { "author": "Cole Tuininga", "author_email": "ctuininga@dyn.com", "bugtrack_url": null, "classifiers": [ "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: Internet :: Name Service (DNS)", "Topic :: Software Development :: Libraries" ], "description": "Dyn Inc, Integration Team Deliverable\n\"Copyright \u00a9 2013, Dyn Inc.\nAll rights reserved.\n \nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are\nmet:\n \n* Redistribution of source code must retain the above copyright notice,\n this list of conditions and the following disclaimer.\n \n* Redistribution in binary form must reproduce the above copyright\n notice, this list of conditions and the following disclaimer in the\n documentation and/or other materials provided with the distribution.\n \n* Neither the name of Dynamic Network Services, Inc. nor the names of\n its contributors may be used to endorse or promote products derived\n from this software without specific prior written permission.\n \nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED\nTO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR\nCONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\nEXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\nPROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;\nOR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\nWHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR\nOTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF\nADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\"\n\n--------------------------------------------------------------------------\n\nThis is a simple Python wrapper for interacting with the Dynect Managed DNS\nREST API. \n\nAs it makes use of a JSON interface, one must either have the simplejson\nmodule installed, or have Python 2.6/2.7 which have a JSON library that comes\nwith the language.\n\nUse is fairly simple:\n\n```python\nimport sys\nfrom dynect.DynectDNS import DynectRest\n\nrest_iface = DynectRest()\n\n# Log in\narguments = {\n\t'customer_name': 'my_cust',\n\t'user_name': 'my_user', \n\t'password': 'my_pass',\n}\nresponse = rest_iface.execute('/Session/', 'POST', arguments)\n\nif response['status'] != 'success':\n\tsys.exit(\"Incorrect credentials\")\n\n# Perform action\nresponse = rest_iface.execute('/Zone/', 'GET')\nzone_resources = response['data']\n\n# Log out, to be polite\nrest_iface.execute('/Session/', 'DELETE')\n```\n\nDocumentation on the REST resources can be found on the [DynECT Help site](https://help.dynect.net/dns-api-knowledge-base/)", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/socrata/Dynect-API-Python-Library", "keywords": "dynect,api,dns", "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "DynectDNS-proxy", "package_url": "https://pypi.org/project/DynectDNS-proxy/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/DynectDNS-proxy/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/socrata/Dynect-API-Python-Library" }, "release_url": "https://pypi.org/project/DynectDNS-proxy/0.5/", "requires_dist": null, "requires_python": null, "summary": "Dynect REST API wrapper with proxy support", "version": "0.5" }, "last_serial": 1598157, "releases": { "0.5": [ { "comment_text": "", "digests": { "md5": "46bc749d9517e85dc300f72fa3aa0b18", "sha256": "1bdf510831aca8cb8267183f086254f3e11c6d6016385fb5182b1596c21aa496" }, "downloads": -1, "filename": "DynectDNS-proxy-0.5.tar.gz", "has_sig": false, "md5_digest": "46bc749d9517e85dc300f72fa3aa0b18", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5079, "upload_time": "2015-06-18T21:16:57", "url": "https://files.pythonhosted.org/packages/a3/aa/f3779285e6793d8c2b653e99f7024df981faf1614b6bd5d38a165db4a4df/DynectDNS-proxy-0.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "46bc749d9517e85dc300f72fa3aa0b18", "sha256": "1bdf510831aca8cb8267183f086254f3e11c6d6016385fb5182b1596c21aa496" }, "downloads": -1, "filename": "DynectDNS-proxy-0.5.tar.gz", "has_sig": false, "md5_digest": "46bc749d9517e85dc300f72fa3aa0b18", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5079, "upload_time": "2015-06-18T21:16:57", "url": "https://files.pythonhosted.org/packages/a3/aa/f3779285e6793d8c2b653e99f7024df981faf1614b6bd5d38a165db4a4df/DynectDNS-proxy-0.5.tar.gz" } ] }