{ "info": { "author": "Ben Maddison", "author_email": "benm@workonline.co.za", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Topic :: Internet", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "[![PyPI](https://img.shields.io/pypi/v/pynamedotcom.svg)](https://pypi.python.org/pypi/pynamedotcom)\n[![Build Status](https://travis-ci.org/benmaddison/pynamedotcom.svg?branch=master)](https://travis-ci.org/benmaddison/pynamedotcom)\n[![codecov](https://codecov.io/gh/benmaddison/pynamedotcom/branch/master/graph/badge.svg)](https://codecov.io/gh/benmaddison/pynamedotcom)\n[![Requirements Status](https://requires.io/github/benmaddison/pynamedotcom/requirements.svg?branch=master)](https://requires.io/github/benmaddison/pynamedotcom/requirements/?branch=master)\n\n# pynamedotcom\n\nA python library to interact with the name.com api\n\n## Installation\n\n```bash\n$ pip install pynamedotcom\n```\n\n## API Usage\n\n```python\n>>> # read authentication details\n...\n>>> import json\n>>> with open(\"tests/auth.json\") as f:\n... auth = json.load(f)\n...\n>>> # initialise api\n...\n>>> import pynamedotcom\n>>> host = \"api.dev.name.com\"\n>>> # get domains\n...\n>>> with pynamedotcom.API(host=host, **auth) as api:\n... for domain_name in api.domains:\n... print(domain_name)\n...\nwolcomm.net\nmaddison.family\n>>>\n>>> # fetch domain object\n...\n>>> with pynamedotcom.API(host=host, **auth) as api:\n... domain = api.domain(name=\"maddison.family\")\n...\n>>> domain\nDomain(maddison.family)\n>>>\n>>> # get/set domain properties\n...\n>>> domain.name\nu'maddison.family'\n>>> domain.nameservers\n[u'ns1.example.com', u'ns2.example.com']\n>>> domain.nameservers = ['foo.example.org', 'bar.example.org']\n>>> domain.nameservers\n[u'foo.example.org', u'bar.example.org']\n```\n\n## CLI Usage\n\nSee `namedotcom --help`\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "https://github.com/benmaddison/pynamedotcom/0.1.1", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/benmaddison/pynamedotcom", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pynamedotcom", "package_url": "https://pypi.org/project/pynamedotcom/", "platform": "", "project_url": "https://pypi.org/project/pynamedotcom/", "project_urls": { "Download": "https://github.com/benmaddison/pynamedotcom/0.1.1", "Homepage": "https://github.com/benmaddison/pynamedotcom" }, "release_url": "https://pypi.org/project/pynamedotcom/0.1.1/", "requires_dist": [ "requests (<3.0,>=2.18.1)", "click (<7.0,>=6.7)" ], "requires_python": "", "summary": "A python library to interact with the name.com api.", "version": "0.1.1" }, "last_serial": 3984861, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "7a02ace67b588ce921c9e49aecb9b8c1", "sha256": "6952be926cf5fd46d63eeee4307dd95c42f15c091edd90267e62c29578910f87" }, "downloads": -1, "filename": "pynamedotcom-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "7a02ace67b588ce921c9e49aecb9b8c1", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 12608, "upload_time": "2018-06-21T06:57:26", "url": "https://files.pythonhosted.org/packages/69/59/5a2a5e48c3bc93a79adf3f4cc4a3efc10d1411c614a86d980c45c110aeb6/pynamedotcom-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4c6107897610ca6da6c6511f69ba0ee3", "sha256": "8e24e759d9b52e33a6e33b8aa02f5b0d268deceae23646744b86eac2fb934079" }, "downloads": -1, "filename": "pynamedotcom-0.1.0.tar.gz", "has_sig": false, "md5_digest": "4c6107897610ca6da6c6511f69ba0ee3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8634, "upload_time": "2018-06-21T06:57:27", "url": "https://files.pythonhosted.org/packages/9c/6e/9aa1ecd3e59542c8a881f6f71a8d431d9b46bcd89c110284fac297d15ac6/pynamedotcom-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "eb990a1c2b50b04eb1d4c339f9c5426d", "sha256": "d78bed45b793cbed24f32284e3cfa8cd5704c6bb22ed86c20ea3b7c837556cb6" }, "downloads": -1, "filename": "pynamedotcom-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "eb990a1c2b50b04eb1d4c339f9c5426d", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 12555, "upload_time": "2018-06-21T08:23:49", "url": "https://files.pythonhosted.org/packages/0f/ef/b9299a097603bfd9be7bdda570f1889875e4d5353d021630e3a2781bd697/pynamedotcom-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6774ffa59b229b68d263b62e303797ae", "sha256": "d0ade6b0a93c737f926519a2df4bd1ac1ca0b3a3acce4e0fbf394b7ff340bcd2" }, "downloads": -1, "filename": "pynamedotcom-0.1.1.tar.gz", "has_sig": false, "md5_digest": "6774ffa59b229b68d263b62e303797ae", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8474, "upload_time": "2018-06-21T08:23:50", "url": "https://files.pythonhosted.org/packages/46/94/98e64d8d386d8729c527ae61c87a14729f3cddd381dead3e7bc0fce555b6/pynamedotcom-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "eb990a1c2b50b04eb1d4c339f9c5426d", "sha256": "d78bed45b793cbed24f32284e3cfa8cd5704c6bb22ed86c20ea3b7c837556cb6" }, "downloads": -1, "filename": "pynamedotcom-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "eb990a1c2b50b04eb1d4c339f9c5426d", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 12555, "upload_time": "2018-06-21T08:23:49", "url": "https://files.pythonhosted.org/packages/0f/ef/b9299a097603bfd9be7bdda570f1889875e4d5353d021630e3a2781bd697/pynamedotcom-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6774ffa59b229b68d263b62e303797ae", "sha256": "d0ade6b0a93c737f926519a2df4bd1ac1ca0b3a3acce4e0fbf394b7ff340bcd2" }, "downloads": -1, "filename": "pynamedotcom-0.1.1.tar.gz", "has_sig": false, "md5_digest": "6774ffa59b229b68d263b62e303797ae", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8474, "upload_time": "2018-06-21T08:23:50", "url": "https://files.pythonhosted.org/packages/46/94/98e64d8d386d8729c527ae61c87a14729f3cddd381dead3e7bc0fce555b6/pynamedotcom-0.1.1.tar.gz" } ] }