tlds


Nametlds JSON
Version 2022052000 PyPI version JSON
download
home_pagehttps://github.com/kichik/tlds
SummaryAutomatically updated list of valid TLDs taken directly from IANA
upload_time2022-05-21 05:26:17
maintainer
docs_urlNone
authorAmir Szekely
requires_python
licenseMIT
keywords tld
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ###################################################
Automatically updated list of valid TLDs for Python
###################################################

The `tlds` module provides a a set of valid TLDs directly taken from IANA_. The package is automatically updated daily.

Available on PyPI_.

.. _IANA: http://data.iana.org/TLD/tlds-alpha-by-domain.txt
.. _PyPI: https://pypi.org/pypi/tlds/

.. image:: https://github.com/kichik/tlds/workflows/tlds%20build/badge.svg
   :target: https://github.com/kichik/tlds/actions

.. image:: https://badge.fury.io/py/tlds.svg
    :target: https://badge.fury.io/py/tlds

Usage
-----

  >>> from tlds import tld_set
  >>> 'com' in tld_set
  True
  >>> 'foobar' in tld_set
  False
  >>> 'pizza' in tld_set
  True
  >>>



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/kichik/tlds",
    "name": "tlds",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "tld",
    "author": "Amir Szekely",
    "author_email": "kichik@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/da/2e/7bc8e6263990e65dbc3a00fe65d0fa32541e08c1fc4a2bbf61b53907b797/tlds-2022052000.tar.gz",
    "platform": null,
    "description": "###################################################\nAutomatically updated list of valid TLDs for Python\n###################################################\n\nThe `tlds` module provides a a set of valid TLDs directly taken from IANA_. The package is automatically updated daily.\n\nAvailable on PyPI_.\n\n.. _IANA: http://data.iana.org/TLD/tlds-alpha-by-domain.txt\n.. _PyPI: https://pypi.org/pypi/tlds/\n\n.. image:: https://github.com/kichik/tlds/workflows/tlds%20build/badge.svg\n   :target: https://github.com/kichik/tlds/actions\n\n.. image:: https://badge.fury.io/py/tlds.svg\n    :target: https://badge.fury.io/py/tlds\n\nUsage\n-----\n\n  >>> from tlds import tld_set\n  >>> 'com' in tld_set\n  True\n  >>> 'foobar' in tld_set\n  False\n  >>> 'pizza' in tld_set\n  True\n  >>>\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Automatically updated list of valid TLDs taken directly from IANA",
    "version": "2022052000",
    "split_keywords": [
        "tld"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "bcd4a6a9fd37942d44fb271df6fcefd9",
                "sha256": "3f42245ecce887d02d48fc878d355984681be7fc1457e066d3645d2888aabc47"
            },
            "downloads": -1,
            "filename": "tlds-2022052000-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "bcd4a6a9fd37942d44fb271df6fcefd9",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": null,
            "size": 8162,
            "upload_time": "2022-05-21T05:26:14",
            "upload_time_iso_8601": "2022-05-21T05:26:14.850257Z",
            "url": "https://files.pythonhosted.org/packages/5a/cd/40a3b7be29d2fc2cef0d7118f038beb9aacf6def4a15123aa77948894169/tlds-2022052000-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "45f7d4d5295101a9f074f2a00943cc0b",
                "sha256": "fffdf7faa423f91f881eabaf27fcadce26d89fedae36c24eef8436b6e692bba1"
            },
            "downloads": -1,
            "filename": "tlds-2022052000.tar.gz",
            "has_sig": false,
            "md5_digest": "45f7d4d5295101a9f074f2a00943cc0b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 1844,
            "upload_time": "2022-05-21T05:26:17",
            "upload_time_iso_8601": "2022-05-21T05:26:17.992230Z",
            "url": "https://files.pythonhosted.org/packages/da/2e/7bc8e6263990e65dbc3a00fe65d0fa32541e08c1fc4a2bbf61b53907b797/tlds-2022052000.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-05-21 05:26:17",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "kichik",
    "github_project": "tlds",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "tlds"
}
        
Elapsed time: 0.34672s