tlds


Nametlds JSON
Version 2025102200 PyPI version JSON
download
home_pagehttps://github.com/kichik/tlds
SummaryAutomatically updated list of valid TLDs taken directly from IANA
upload_time2025-10-24 04:36:54
maintainerNone
docs_urlNone
authorAmir Szekely
requires_pythonNone
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
   :alt: Build status
   :target: https://github.com/kichik/tlds/actions

.. image:: https://img.shields.io/pypi/v/tlds?logo=pypi
   :alt: PyPI
   :target: https://pypi.org/pypi/tlds/

.. image:: https://img.shields.io/pypi/dm/tlds?color=red
   :alt: PyPI - Downloads
   :target: https://pypi.org/pypi/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": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "tld",
    "author": "Amir Szekely",
    "author_email": "kichik@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/13/ef/cbe4ef3e7f8efbb7d781ace17c626d49f677f55758cd07a56887927d04f4/tlds-2025102200.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   :alt: Build status\n   :target: https://github.com/kichik/tlds/actions\n\n.. image:: https://img.shields.io/pypi/v/tlds?logo=pypi\n   :alt: PyPI\n   :target: https://pypi.org/pypi/tlds/\n\n.. image:: https://img.shields.io/pypi/dm/tlds?color=red\n   :alt: PyPI - Downloads\n   :target: https://pypi.org/pypi/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",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Automatically updated list of valid TLDs taken directly from IANA",
    "version": "2025102200",
    "project_urls": {
        "Homepage": "https://github.com/kichik/tlds"
    },
    "split_keywords": [
        "tld"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "6d54a94ebe610803619b56ae20f59165beb15c9284e7a7e0cdcdb3d6bb0f298d",
                "md5": "d4d1c13cb2e1dcafe2e8de11b4a86c31",
                "sha256": "2597ae45002fc1356086c9bfd0762f9c79e62a19268469b7828295358875b116"
            },
            "downloads": -1,
            "filename": "tlds-2025102200-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d4d1c13cb2e1dcafe2e8de11b4a86c31",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": null,
            "size": 8001,
            "upload_time": "2025-10-24T04:36:51",
            "upload_time_iso_8601": "2025-10-24T04:36:51.867667Z",
            "url": "https://files.pythonhosted.org/packages/6d/54/a94ebe610803619b56ae20f59165beb15c9284e7a7e0cdcdb3d6bb0f298d/tlds-2025102200-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "13efcbe4ef3e7f8efbb7d781ace17c626d49f677f55758cd07a56887927d04f4",
                "md5": "e55426340d21923d777e79d32c13b038",
                "sha256": "60c7f518420b4bb1b938f15b0754bd91be3976cdf38cb91f7e573f696865e819"
            },
            "downloads": -1,
            "filename": "tlds-2025102200.tar.gz",
            "has_sig": false,
            "md5_digest": "e55426340d21923d777e79d32c13b038",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 7826,
            "upload_time": "2025-10-24T04:36:54",
            "upload_time_iso_8601": "2025-10-24T04:36:54.202666Z",
            "url": "https://files.pythonhosted.org/packages/13/ef/cbe4ef3e7f8efbb7d781ace17c626d49f677f55758cd07a56887927d04f4/tlds-2025102200.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-10-24 04:36:54",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "kichik",
    "github_project": "tlds",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "tlds"
}
        
Elapsed time: 3.39178s