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 2025102200

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

Built distribution (wheel)

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

Total release size: 15.8 kB

Release files / tlds-2025102200.tar.gz

Download URL tlds-2025102200.tar.gz
Size 7.8 kB
Tags Source
SHA-256 checksum
How to use checksums
60c7f518420b4bb1b938f15b0754bd91be3976cdf38cb91f7e573f696865e819
BLAKE2b-256 checksum
How to use checksums
13efcbe4ef3e7f8efbb7d781ace17c626d49f677f55758cd07a56887927d04f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 24, 2025.

Transparency log

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

Download URL tlds-2025102200-py2.py3-none-any.whl
Size 8.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
2597ae45002fc1356086c9bfd0762f9c79e62a19268469b7828295358875b116
BLAKE2b-256 checksum
How to use checksums
6d54a94ebe610803619b56ae20f59165beb15c9284e7a7e0cdcdb3d6bb0f298d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 24, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

2025102200 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