tlds


Nametlds JSON
Version 2024032800 PyPI version JSON
download
home_pagehttps://github.com/kichik/tlds
SummaryAutomatically updated list of valid TLDs taken directly from IANA
upload_time2024-03-30 04:27:21
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/36/bf/27cd855c6fe497db47f5706432322c905728569c5396a2baf99444c7bc5c/tlds-2024032800.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": "2024032800",
    "project_urls": {
        "Homepage": "https://github.com/kichik/tlds"
    },
    "split_keywords": [
        "tld"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "21d56c75f94477d801e1be417fde8831fd52788a1135e86661090b3017485109",
                "md5": "927b632752930b2b4ff3cd53347a4bc1",
                "sha256": "05767580a6483eef1aa09a7364e4912620fc343663e04e003c3bdb0ea01ed35d"
            },
            "downloads": -1,
            "filename": "tlds-2024032800-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "927b632752930b2b4ff3cd53347a4bc1",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": null,
            "size": 8039,
            "upload_time": "2024-03-30T04:27:13",
            "upload_time_iso_8601": "2024-03-30T04:27:13.872961Z",
            "url": "https://files.pythonhosted.org/packages/21/d5/6c75f94477d801e1be417fde8831fd52788a1135e86661090b3017485109/tlds-2024032800-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "36bf27cd855c6fe497db47f5706432322c905728569c5396a2baf99444c7bc5c",
                "md5": "e756d72ddd09d1083831493c53160178",
                "sha256": "6214a5de99371a61138a81d324f3d8c76149f162d96143be49c7465a474204a3"
            },
            "downloads": -1,
            "filename": "tlds-2024032800.tar.gz",
            "has_sig": false,
            "md5_digest": "e756d72ddd09d1083831493c53160178",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 7874,
            "upload_time": "2024-03-30T04:27:21",
            "upload_time_iso_8601": "2024-03-30T04:27:21.862534Z",
            "url": "https://files.pythonhosted.org/packages/36/bf/27cd855c6fe497db47f5706432322c905728569c5396a2baf99444c7bc5c/tlds-2024032800.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-30 04:27:21",
    "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.31960s