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

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for tlds-2024012300.tar.gz
Algorithm Hash digest
SHA256 521d97a4fdb8ad58c7daf68cc3a3901d5052a402ae0ac2caca06932d275bad5f
MD5 cacbf02d0cba1d4176cee9ad662072d2
BLAKE2b-256 b8a7688f7ab135b83f2ebbc530a050f2513e0afd2437fcfdd57aedbcd1bc1978

See more details on using hashes here.

File details

Details for the file tlds-2024012300-py2.py3-none-any.whl.

File metadata

  • Download URL: tlds-2024012300-py2.py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for tlds-2024012300-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7d46a7bb9ff741e14c72d554f7945b5b3244694ee87fada69db3941afed09d14
MD5 d74f58226d7dda98501cc17e081a7cec
BLAKE2b-256 a4df53d2cd5c6d53a2d71f7c05e1ccf6506f5efa25f9281cc25f3fee1a690719

See more details on using hashes here.

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