gladhost-tlds


Namegladhost-tlds JSON
Version 1.0.5 PyPI version JSON
download
home_pageNone
Summarylibrary to retrieve and validate domain's TLD
upload_time2025-08-04 09:16:15
maintainerNone
docs_urlNone
authorNone
requires_python>=3.10
licenseNone
keywords tld tld list tlds domain tld
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Python

## Installation

```
pip install gladhost-tlds
```

## Functions

- `get_tlds() -> list[str]`
- `is_valid_tld(tld:str) -> bool`
- `has_domain_valid_tld(domain:str) -> bool`

## Examples

```
import tlds

print(tlds.get_tlds())
print(tlds.is_valid_tld("com"))
print(tlds.has_domain_valid_tld("example.com"))
```

expected results:

- `['com', 'fr', ...]`
- `true`
- `true`

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "gladhost-tlds",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": "tld, tld list, tlds, domain tld",
    "author": null,
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/ef/a8/3d8cb37fca4aff26be79dfccdd220ebea725b7fe11e7287178b3a3f07bca/gladhost_tlds-1.0.5.tar.gz",
    "platform": null,
    "description": "# Python\n\n## Installation\n\n```\npip install gladhost-tlds\n```\n\n## Functions\n\n- `get_tlds() -> list[str]`\n- `is_valid_tld(tld:str) -> bool`\n- `has_domain_valid_tld(domain:str) -> bool`\n\n## Examples\n\n```\nimport tlds\n\nprint(tlds.get_tlds())\nprint(tlds.is_valid_tld(\"com\"))\nprint(tlds.has_domain_valid_tld(\"example.com\"))\n```\n\nexpected results:\n\n- `['com', 'fr', ...]`\n- `true`\n- `true`\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "library to retrieve and validate domain's TLD",
    "version": "1.0.5",
    "project_urls": null,
    "split_keywords": [
        "tld",
        " tld list",
        " tlds",
        " domain tld"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "e6ed0d4d861524e68d6409471f6ebd0e054427fc752a95067c22120923c3ab7e",
                "md5": "5694688a4ec1751c0a17fb96afcf6b42",
                "sha256": "2a0d7c9cbba8a50bfd3e129c1c368557ba47ae6b6aa19c2973dbd76451a2a48d"
            },
            "downloads": -1,
            "filename": "gladhost_tlds-1.0.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "5694688a4ec1751c0a17fb96afcf6b42",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 2276,
            "upload_time": "2025-08-04T09:16:15",
            "upload_time_iso_8601": "2025-08-04T09:16:15.090833Z",
            "url": "https://files.pythonhosted.org/packages/e6/ed/0d4d861524e68d6409471f6ebd0e054427fc752a95067c22120923c3ab7e/gladhost_tlds-1.0.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "efa83d8cb37fca4aff26be79dfccdd220ebea725b7fe11e7287178b3a3f07bca",
                "md5": "bac87112b47c714798fe9bd127f9cbab",
                "sha256": "57e0fe9a26f83ff78def93bddb6642a8589a6cb808b8e864d001b8d4d3bb240d"
            },
            "downloads": -1,
            "filename": "gladhost_tlds-1.0.5.tar.gz",
            "has_sig": false,
            "md5_digest": "bac87112b47c714798fe9bd127f9cbab",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 1987,
            "upload_time": "2025-08-04T09:16:15",
            "upload_time_iso_8601": "2025-08-04T09:16:15.813429Z",
            "url": "https://files.pythonhosted.org/packages/ef/a8/3d8cb37fca4aff26be79dfccdd220ebea725b7fe11e7287178b3a3f07bca/gladhost_tlds-1.0.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-04 09:16:15",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "gladhost-tlds"
}
        
Elapsed time: 1.28142s