{ "info": { "author": "Olivier Poitrey", "author_email": "rs@dailymotion.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Environment :: No Input/Output (Daemon)", "Environment :: Web Environment", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "Intended Audience :: Telecommunications Industry", "License :: OSI Approved :: MIT License", "Operating System :: Unix", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: HTTP Servers", "Topic :: Internet :: WWW/HTTP :: Site Management", "Topic :: Security" ], "description": "Domcheck: Domain Ownership Validation\n=====================================\n\n.. image:: https://img.shields.io/pypi/v/domcheck.svg\n :target: https://pypi.python.org/pypi/domcheck\n\n.. image:: https://travis-ci.org/rs/domcheck.svg?branch=master\n :target: https://travis-ci.org/rs/domcheck\n\nThis Python library implements different strategies to validate the ownership of a domain name.\n\nAvailable strategies\n--------------------\n\nAll strategies takes 3 arguments: the domain to check, a static DNS safe ``prefix`` like \"yourservice-domain-verification\" and a randomly generated ``code``.\n\n- **DNS TXT record**: checks for the ``{prefix}-{code}`` string present in one of the ``TXT`` records on the domain name.\n- **DNS CNAME record**: checks for the existence of ``CNAME` record composed on the static ``{prefix}-{code}`` on the domain pointing to domain (usually yours) which the host is {prefix} (i.e.: {prefix}.yourdomain.com). NOTE: you may want to make sure that {prefix}.yourdomain.com resolves to something as some zone editors may check that.\n- **Meta Tag**: checks for the presence of a ```` tag in the ```` part of the domain's home page using either HTTP or HTTPs protocols.\n- **HTML File**: checks for the presence of a file named ``{code}.html`` at the root of the domain's website containing the string ``{prefix}={code}`` using either HTTP or HTTPs protocols.\n\nUsage Example\n-------------\n\nSimple usage will check the domain with all available strategies and return ``True`` if the validation passed:\n\n.. code-block:: python\n\n import domcheck\n\n domain = \"example.com\"\n prefix = \"myservice-domain-verification\"\n code = \"myserviceK2d8a0xdhh\"\n\n if domcheck.check(domain, prefix, code):\n print \"This domain is verified\"\n\nYou may filter strategies by passing a coma separated list of strategies:\n\n.. code-block:: python\n\n domcheck.check(domain, prefix, code, strategies=\"dns_txt,meta_tag\")\n\nInstallation\n------------\n\nTo install domcheck, simply:\n\n $ pip install domcheck\n\nLicenses\n--------\n\nAll source code is licensed under the `MIT License `_.", "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/rs/domcheck", "keywords": "domain,validation,verification,check,ownership,dns,txt,cname,meta", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "domcheck", "package_url": "https://pypi.org/project/domcheck/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/domcheck/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/rs/domcheck" }, "release_url": "https://pypi.org/project/domcheck/1.1.4/", "requires_dist": null, "requires_python": null, "summary": "Domain Ownership Checker", "version": "1.1.4" }, "last_serial": 1695461, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "e1693e26203974caede5a066c496e5e1", "sha256": "1d86e4c43d73bbb07916122d33cc4a446e494fbc8625142d6684a6b5673c9197" }, "downloads": -1, "filename": "domcheck-1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e1693e26203974caede5a066c496e5e1", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4074, "upload_time": "2015-04-16T08:09:46", "url": "https://files.pythonhosted.org/packages/b3/47/d944018f99e701b6101fd093e2fbc97a247dc68aabadad19262b6f48b441/domcheck-1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3b039c8ffca79797a42e4d8c1a3c4abc", "sha256": "dfaac142c79402cea9098c4ca92d807e8c74c7cf4af2b14013466a9acb606b91" }, "downloads": -1, "filename": "domcheck-1.0.tar.gz", "has_sig": false, "md5_digest": "3b039c8ffca79797a42e4d8c1a3c4abc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2600, "upload_time": "2015-04-16T08:09:50", "url": "https://files.pythonhosted.org/packages/32/0e/099190c527509c3819fbabd364abe98a0fd2fdaee5e09cf24f286d39203e/domcheck-1.0.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "4e3863153bc02be58176b6b871235a0b", "sha256": "5685faf5383a2768d5329257db1b0316bc8ee3a197ab5f538536f1c8ede75e7d" }, "downloads": -1, "filename": "domcheck-1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "4e3863153bc02be58176b6b871235a0b", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 5667, "upload_time": "2015-04-16T08:26:19", "url": "https://files.pythonhosted.org/packages/31/76/73365e77ca4cfe1a08381e6ad88b5253c377989f3847138b1315f13330c9/domcheck-1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "98aa1b84eb50b4c250a5ae1355b402de", "sha256": "5c679b6cf12cab4d76fc237a703ab7b2febf694809064b21ca9e1e55fc1fd771" }, "downloads": -1, "filename": "domcheck-1.1.tar.gz", "has_sig": false, "md5_digest": "98aa1b84eb50b4c250a5ae1355b402de", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3458, "upload_time": "2015-04-16T08:26:15", "url": "https://files.pythonhosted.org/packages/d4/d2/2a162c7a89e5d28a4669dbf915d38eeee0aafc66d8bd8ebabb959a0e887f/domcheck-1.1.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "85c5a81c8339f47e42f4ee7432d94936", "sha256": "6b198b24f704619db07aec27257b640d9e8d7b3cee179ff4b0ba4059f2783bf7" }, "downloads": -1, "filename": "domcheck-1.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "85c5a81c8339f47e42f4ee7432d94936", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 6050, "upload_time": "2015-04-17T01:22:36", "url": "https://files.pythonhosted.org/packages/5a/05/4522cd98847f0fccff9052dc954026aef834f5f577adf8a66727602e45ec/domcheck-1.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2fa84ecdc933f6dc1c93cbe7f9c581af", "sha256": "d3cc31be6cc06d9933c9c31723a23845a818ff5a192dc57607a8e0e93791b966" }, "downloads": -1, "filename": "domcheck-1.1.1.tar.gz", "has_sig": false, "md5_digest": "2fa84ecdc933f6dc1c93cbe7f9c581af", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3691, "upload_time": "2015-04-17T01:22:33", "url": "https://files.pythonhosted.org/packages/e4/1f/8d72f452f8c3395e5947844a5b49cf0048244643e6214b4f11818efdc3b3/domcheck-1.1.1.tar.gz" } ], "1.1.2": [ { "comment_text": "", "digests": { "md5": "17aab90fe92e87cf0b51ea604b96da61", "sha256": "590a9c392cb11a2bd11c48c97fabee01e41ec54b48975841fa4bb2d09ccbffcb" }, "downloads": -1, "filename": "domcheck-1.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "17aab90fe92e87cf0b51ea604b96da61", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 6164, "upload_time": "2015-04-17T02:09:58", "url": "https://files.pythonhosted.org/packages/de/18/1c057686e38df385e1014060241b6825b71d99db6531c8a428227e38924c/domcheck-1.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c7bd661dae1db140cee2f06f999b4644", "sha256": "f35c524fdd7d9555617275915ffc8a22e898b4cc279b0440176d837906547c93" }, "downloads": -1, "filename": "domcheck-1.1.2.tar.gz", "has_sig": false, "md5_digest": "c7bd661dae1db140cee2f06f999b4644", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3835, "upload_time": "2015-04-17T02:09:55", "url": "https://files.pythonhosted.org/packages/40/16/6381ab18343f8e081f9eb5b2b237e532c616a157ec5d39322511b8eb6634/domcheck-1.1.2.tar.gz" } ], "1.1.3": [ { "comment_text": "", "digests": { "md5": "4f4a21f24cdd6372c4a2634e55f58338", "sha256": "afa262e76136212f2ef5a75cc9120ca89498a0bfdd3c3e77712ebe780f61a94e" }, "downloads": -1, "filename": "domcheck-1.1.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "4f4a21f24cdd6372c4a2634e55f58338", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 6286, "upload_time": "2015-08-26T21:56:09", "url": "https://files.pythonhosted.org/packages/72/a2/d4985d78d8759d66faac1deb44d9a09289d89e62c7eb5b7084d4d38e6588/domcheck-1.1.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d1a10fe0303a62f6adbdebeb7428f4ce", "sha256": "94afc500ebbc4531b2f28c30e828bfd0739b4f80485efa5305c87791cb6ceafa" }, "downloads": -1, "filename": "domcheck-1.1.3.tar.gz", "has_sig": false, "md5_digest": "d1a10fe0303a62f6adbdebeb7428f4ce", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3961, "upload_time": "2015-08-26T21:56:05", "url": "https://files.pythonhosted.org/packages/a0/f6/7673300d96c37d59b85473b19fa68869a4d41edbac34d004fbae7faddc94/domcheck-1.1.3.tar.gz" } ], "1.1.4": [ { "comment_text": "", "digests": { "md5": "ad1276d988859c76f90d0c1348aaf89f", "sha256": "75f8c6d5b99c608a32301d971f4410fcdee67a5b65fb771f88783a787f5c4b66" }, "downloads": -1, "filename": "domcheck-1.1.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ad1276d988859c76f90d0c1348aaf89f", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 6287, "upload_time": "2015-08-26T22:57:34", "url": "https://files.pythonhosted.org/packages/e3/9e/73fe6546b2b66909ef67e67ec0722497fe30b1d74fc842e04d90bbf744b0/domcheck-1.1.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0716a5309893796e044277cc125dd773", "sha256": "0c741b9e409d5165bcbd2eb5ec3cf8b2a0a44570a07c666b1ef8322cce3a1f13" }, "downloads": -1, "filename": "domcheck-1.1.4.tar.gz", "has_sig": false, "md5_digest": "0716a5309893796e044277cc125dd773", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3969, "upload_time": "2015-08-26T22:57:30", "url": "https://files.pythonhosted.org/packages/7b/4a/4ad714bf82d3edbee9f04a418461b76383da06cb33bbb118ab5c9fc62b4e/domcheck-1.1.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ad1276d988859c76f90d0c1348aaf89f", "sha256": "75f8c6d5b99c608a32301d971f4410fcdee67a5b65fb771f88783a787f5c4b66" }, "downloads": -1, "filename": "domcheck-1.1.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ad1276d988859c76f90d0c1348aaf89f", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 6287, "upload_time": "2015-08-26T22:57:34", "url": "https://files.pythonhosted.org/packages/e3/9e/73fe6546b2b66909ef67e67ec0722497fe30b1d74fc842e04d90bbf744b0/domcheck-1.1.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0716a5309893796e044277cc125dd773", "sha256": "0c741b9e409d5165bcbd2eb5ec3cf8b2a0a44570a07c666b1ef8322cce3a1f13" }, "downloads": -1, "filename": "domcheck-1.1.4.tar.gz", "has_sig": false, "md5_digest": "0716a5309893796e044277cc125dd773", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3969, "upload_time": "2015-08-26T22:57:30", "url": "https://files.pythonhosted.org/packages/7b/4a/4ad714bf82d3edbee9f04a418461b76383da06cb33bbb118ab5c9fc62b4e/domcheck-1.1.4.tar.gz" } ] }