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.
Usage
>>> from tlds import tld_set >>> 'com' in tld_set True >>> 'foobar' in tld_set False >>> 'pizza' in tld_set True >>>
Metadata
Release files for tlds 2024020701
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tlds-2024020701.tar.gz | 7.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tlds-2024020701-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 15.9 kB
Release files / tlds-2024020701.tar.gz
| Download URL | tlds-2024020701.tar.gz |
|---|---|
| Size | 7.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
462b5dff89cfa1a3dca4cfd2fb81a53acaadee3fe618b7a018e314d692e0d3a4
|
|
BLAKE2b-256 checksum How to use checksums |
68fa42b0354b6b4b733c96ae7c8efaed765d4dba8565d7313adb747ff66456f6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.8
|
Release files / tlds-2024020701-py2.py3-none-any.whl
| Download URL | tlds-2024020701-py2.py3-none-any.whl |
|---|---|
| Size | 8.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
e061ec51d0ca160ac64b8c228b0cf72b544aeb47249d82dbd1b5681245b4444a
|
|
BLAKE2b-256 checksum How to use checksums |
c1e98a777e681ba17d8e84eef81bb2a00ffb6c8e7c351ab60379868c8fc7df4f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.8
|