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

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: tlds-2025043000.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-2025043000.tar.gz
Algorithm Hash digest
SHA256 6604627689b1f08c1a4e0e978198c83c5aac7995663420c633e4adc60ea2ce78
MD5 e1d777ea44aafc344e04e9ae13bb2b00
BLAKE2b-256 37bbdcbe4abc5be9b2bffe1ad85628039da26eda92ef9aea2a4f1c5073f0c2b4

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: tlds-2025043000-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-2025043000-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5285d22af6082027e4cf252f6d8dfaa0c155e80874dae6ddc12efea68db0da3a
MD5 92ffe25fe8143fd5ba5805f6808c5b1e
BLAKE2b-256 342a141eb9d9d4b479faf453d254e3d66499359ee3745adb5f2afdba3e6b9c4f

See more details on using hashes here.

Provenance

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