tlds


Nametlds JSON
Version 2025082700 PyPI version JSON
download
home_pagehttps://github.com/kichik/tlds
SummaryAutomatically updated list of valid TLDs taken directly from IANA
upload_time2025-08-29 04:37:50
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/ce/30/d1129d384240d22bd59e8fcf3bd098e64f37e2036d09e6cb3a637ba4a9aa/tlds-2025082700.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": "2025082700",
    "project_urls": {
        "Homepage": "https://github.com/kichik/tlds"
    },
    "split_keywords": [
        "tld"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "2fbaf9dc2b17161fcf8e5df46547e9d819749337719993f5df92ef8f1ecef92f",
                "md5": "dfd420454d2580a7666f6ec66e56dffc",
                "sha256": "c0a960adb08e9a0baa37d93be591436495fdc3f1a3b0d48dcdec969d0449114d"
            },
            "downloads": -1,
            "filename": "tlds-2025082700-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "dfd420454d2580a7666f6ec66e56dffc",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": null,
            "size": 8007,
            "upload_time": "2025-08-29T04:37:49",
            "upload_time_iso_8601": "2025-08-29T04:37:49.500375Z",
            "url": "https://files.pythonhosted.org/packages/2f/ba/f9dc2b17161fcf8e5df46547e9d819749337719993f5df92ef8f1ecef92f/tlds-2025082700-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "ce30d1129d384240d22bd59e8fcf3bd098e64f37e2036d09e6cb3a637ba4a9aa",
                "md5": "1c287894d7bd13b2deb1799619970c6a",
                "sha256": "6e9b4e37cead946983f2392df24a1bbd496fede69efc239c9f60c64b034ca987"
            },
            "downloads": -1,
            "filename": "tlds-2025082700.tar.gz",
            "has_sig": false,
            "md5_digest": "1c287894d7bd13b2deb1799619970c6a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 7846,
            "upload_time": "2025-08-29T04:37:50",
            "upload_time_iso_8601": "2025-08-29T04:37:50.894386Z",
            "url": "https://files.pythonhosted.org/packages/ce/30/d1129d384240d22bd59e8fcf3bd098e64f37e2036d09e6cb3a637ba4a9aa/tlds-2025082700.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-29 04:37:50",
    "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: 2.93224s