Skip to main content

Automatically updated list of valid TLDs taken directly from IANA

Project description

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

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

tlds-2026041800.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-2026041800-py2.py3-none-any.whl (8.1 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for tlds-2026041800.tar.gz
Algorithm Hash digest
SHA256 f54095fd1767ccbdc3fb3baff8d0bf8c684dc97fb0753fcdc641142c74181190
MD5 c36528b38fffe3448b4f641197161920
BLAKE2b-256 aec6ddda7147c0bce6b8ff274e8e250558a255023d7427d371eb30cf5b09afd3

See more details on using hashes here.

Provenance

The following attestation bundles were made for tlds-2026041800.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-2026041800-py2.py3-none-any.whl.

File metadata

  • Download URL: tlds-2026041800-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.12

File hashes

Hashes for tlds-2026041800-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d47ad192e7d59b139cf7b647e17df84f302ef24ba47426900f5e06723d84f78e
MD5 26b6e9d1e38992a07de519b6b60058c5
BLAKE2b-256 65cfe280d2413edb33bc43964ec800757a3917dc5ab3395d056eb6180bff56ff

See more details on using hashes here.

Provenance

The following attestation bundles were made for tlds-2026041800-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.

Supported by

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