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-2025022800.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-2025022800-py2.py3-none-any.whl (8.0 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for tlds-2025022800.tar.gz
Algorithm Hash digest
SHA256 a347ee0ababb5f1c09c99cf0df33af3279528596d3a66370bc282675ee33f970
MD5 fc18ff8768075b36fd39c2ee69685707
BLAKE2b-256 b45d8a8d1afa8da288cfb4c802f8b13b63f7699133fd38ad7ad3906190ba24a1

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for tlds-2025022800-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e13c951a3a226a526292c1a1b7bcd1c61a5e0e1f455d251e2ade62f2ee15cd71
MD5 650e5a18d390fbbb28b346c03c222229
BLAKE2b-256 030dbb184b34281e35a5ccd7cf0262d75b1996592155216e3bbddfe100edd10c

See more details on using hashes here.

Provenance

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