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-2025102200.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

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

tlds-2025102200-py2.py3-none-any.whl (8.0 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for tlds-2025102200.tar.gz
Algorithm Hash digest
SHA256 60c7f518420b4bb1b938f15b0754bd91be3976cdf38cb91f7e573f696865e819
MD5 e55426340d21923d777e79d32c13b038
BLAKE2b-256 13efcbe4ef3e7f8efbb7d781ace17c626d49f677f55758cd07a56887927d04f4

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: tlds-2025102200-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.13.7

File hashes

Hashes for tlds-2025102200-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2597ae45002fc1356086c9bfd0762f9c79e62a19268469b7828295358875b116
MD5 d4d1c13cb2e1dcafe2e8de11b4a86c31
BLAKE2b-256 6d54a94ebe610803619b56ae20f59165beb15c9284e7a7e0cdcdb3d6bb0f298d

See more details on using hashes here.

Provenance

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