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

Uploaded Source

Built Distribution

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

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for tlds-2025082700.tar.gz
Algorithm Hash digest
SHA256 6e9b4e37cead946983f2392df24a1bbd496fede69efc239c9f60c64b034ca987
MD5 1c287894d7bd13b2deb1799619970c6a
BLAKE2b-256 ce30d1129d384240d22bd59e8fcf3bd098e64f37e2036d09e6cb3a637ba4a9aa

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: tlds-2025082700-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-2025082700-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c0a960adb08e9a0baa37d93be591436495fdc3f1a3b0d48dcdec969d0449114d
MD5 dfd420454d2580a7666f6ec66e56dffc
BLAKE2b-256 2fbaf9dc2b17161fcf8e5df46547e9d819749337719993f5df92ef8f1ecef92f

See more details on using hashes here.

Provenance

The following attestation bundles were made for tlds-2025082700-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 Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page