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 2026093003

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 2026093003
File Size Uploaded
tlds-2026093003.tar.gz 7.9 kB Details

Built distribution (wheel)

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

Total release size: 15.9 kB

Release files / tlds-2026093003.tar.gz

Download URL tlds-2026093003.tar.gz
Size 7.9 kB
Tags Source
SHA-256 checksum
How to use checksums
573e8eb20d9f5dcbaed6fdfc56f2fd6047e6fef6282af24147589e87700a32bb
BLAKE2b-256 checksum
How to use checksums
a5c69d07dee4561d7975f06f558e403400b2f3e8311ca743908691636b648320
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 2, 2026.

Transparency log

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

Download URL tlds-2026093003-py2.py3-none-any.whl
Size 8.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
3cb9452b79f08957bf868d407d40625897ac3215d6bbe8b3fdd38dce753cd41e
BLAKE2b-256 checksum
How to use checksums
6a02a4d80f666fa50417ce6d999b6b06f2aec3cfb80ecae0520a14da6bdd3ec6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 2, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

2026093003 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