Skip to main content

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
>>>

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tlds-2026021400.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tlds-2026021400-py2.py3-none-any.whl (8.1 kB view details)

Uploaded Python 2Python 3

File details

Details for the file tlds-2026021400.tar.gz.

File metadata

  • Download URL: tlds-2026021400.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for tlds-2026021400.tar.gz
Algorithm Hash digest
SHA256 aa39e895e9f096e712ad5f37b2760146aafb48c3b8226c4a467974bff6ecf7ab
MD5 4494a09c8a3120228220a6bff730a158
BLAKE2b-256 14f39c78e1963094bdf31b6225234d794a91e456e9dd9869033271661786fad5

See more details on using hashes here.

Provenance

The following attestation bundles were made for tlds-2026021400.tar.gz:

Publisher: publish.yml on kichik/tlds

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tlds-2026021400-py2.py3-none-any.whl.

File metadata

  • Download URL: tlds-2026021400-py2.py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for tlds-2026021400-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ccf3f81c15d6803183158b520d1edc150cf89fa1bf125ed58efc87cfb2366d48
MD5 594570226152cfe61308076c66289fa4
BLAKE2b-256 dbf574b2da17172cf970cbf4dd3182f1b7aac36cc31bf88b9e6485196d9c36bf

See more details on using hashes here.

Provenance

The following attestation bundles were made for tlds-2026021400-py2.py3-none-any.whl:

Publisher: publish.yml on kichik/tlds

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page