Skip to main content

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.

Build status PyPI PyPI - Downloads

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 2023111800

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tlds 2023111800
File Size Uploaded
tlds-2023111800.tar.gz 7.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tlds 2023111800
File Interpreter ABI Platform
tlds-2023111800-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 16.0 kB

Release files / tlds-2023111800.tar.gz

Download URL tlds-2023111800.tar.gz
Size 7.9 kB
Tags Source
SHA-256 checksum
How to use checksums
ef9d668d78e3baf26a179c9abb97c1f0854c18a1b8ceaae736ebd9f7576d8941
BLAKE2b-256 checksum
How to use checksums
053356c4e2885be24315eda49951744ea587e3ce471b92a115954fa6baa3ae5a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Release files / tlds-2023111800-py2.py3-none-any.whl

Download URL tlds-2023111800-py2.py3-none-any.whl
Size 8.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
541dd5803b8b28593a263d9ccdfdc665d93aea8dbbf9f7ab749ffbe0d6bd28ea
BLAKE2b-256 checksum
How to use checksums
f2e1dcd64bd8d1dc0c976157e5d808e48b56d9dbd15d7e3a0bb0e6b1c30a2334
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Release history Release notifications | RSS feed

This release

2023111800 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page