tlds


Nametlds JSON
Version 2024071000 PyPI version JSON
download
home_pagehttps://github.com/kichik/tlds
SummaryAutomatically updated list of valid TLDs taken directly from IANA
upload_time2024-07-12 04:30:32
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/77/6a/05a4e9462c03ac490014e0a72bba10c27d30585893655fa0466b5f62eceb/tlds-2024071000.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": "2024071000",
    "project_urls": {
        "Homepage": "https://github.com/kichik/tlds"
    },
    "split_keywords": [
        "tld"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "777a4b156b9d6f83e96f354db968fda61312ad0ea2df345920ff7ab0c629458d",
                "md5": "5515e8f160cd622ecb93415a520639ff",
                "sha256": "957a015cab9d84826484e714d8e9d727e4c491f86b442aa60fb75a66d0803cff"
            },
            "downloads": -1,
            "filename": "tlds-2024071000-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "5515e8f160cd622ecb93415a520639ff",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": null,
            "size": 8034,
            "upload_time": "2024-07-12T04:30:24",
            "upload_time_iso_8601": "2024-07-12T04:30:24.477263Z",
            "url": "https://files.pythonhosted.org/packages/77/7a/4b156b9d6f83e96f354db968fda61312ad0ea2df345920ff7ab0c629458d/tlds-2024071000-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "776a05a4e9462c03ac490014e0a72bba10c27d30585893655fa0466b5f62eceb",
                "md5": "56cbf01cedd90f3a4466649095cb26d0",
                "sha256": "6e7cf05ec2edb543dd8c4ca71857c84ab4937317475be247a65985b2f6f8d7c5"
            },
            "downloads": -1,
            "filename": "tlds-2024071000.tar.gz",
            "has_sig": false,
            "md5_digest": "56cbf01cedd90f3a4466649095cb26d0",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 7867,
            "upload_time": "2024-07-12T04:30:32",
            "upload_time_iso_8601": "2024-07-12T04:30:32.321825Z",
            "url": "https://files.pythonhosted.org/packages/77/6a/05a4e9462c03ac490014e0a72bba10c27d30585893655fa0466b5f62eceb/tlds-2024071000.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-12 04:30:32",
    "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: 0.26010s