Name | gladhost-tlds JSON |
Version |
1.0.0
JSON |
| download |
home_page | None |
Summary | library to retrieve and validate domain's TLD |
upload_time | 2025-08-01 08:27:22 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.10 |
license | None |
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/67/bd/5fd1a1c0e611bd3c46d18473b9e53b5220cdfb767d484621e80138f2c062/gladhost_tlds-1.0.0.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.0",
"project_urls": null,
"split_keywords": [
"tld",
" tld list",
" tlds",
" domain tld"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "34dcf6d711c3c6f9eda0f8e8f539d8a6d1f70bcddfa8da20b930c197fc2a1041",
"md5": "37ef01bfc3ba820a81770f121702d502",
"sha256": "1fc281059971058fcec46cd261e23b94a924ebddf9e380aacdc6ec3312274c00"
},
"downloads": -1,
"filename": "gladhost_tlds-1.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "37ef01bfc3ba820a81770f121702d502",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 6894,
"upload_time": "2025-08-01T08:27:21",
"upload_time_iso_8601": "2025-08-01T08:27:21.378510Z",
"url": "https://files.pythonhosted.org/packages/34/dc/f6d711c3c6f9eda0f8e8f539d8a6d1f70bcddfa8da20b930c197fc2a1041/gladhost_tlds-1.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "67bd5fd1a1c0e611bd3c46d18473b9e53b5220cdfb767d484621e80138f2c062",
"md5": "79c47c89093f6ac3856b6feff1967242",
"sha256": "855f0075aad3367fa53e9764f2f8fa9d0e7dd000f8874045fbff1a32a13401d8"
},
"downloads": -1,
"filename": "gladhost_tlds-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "79c47c89093f6ac3856b6feff1967242",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 6846,
"upload_time": "2025-08-01T08:27:22",
"upload_time_iso_8601": "2025-08-01T08:27:22.617374Z",
"url": "https://files.pythonhosted.org/packages/67/bd/5fd1a1c0e611bd3c46d18473b9e53b5220cdfb767d484621e80138f2c062/gladhost_tlds-1.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-08-01 08:27:22",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "gladhost-tlds"
}