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

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for tlds-2023111800.tar.gz
Algorithm Hash digest
SHA256 ef9d668d78e3baf26a179c9abb97c1f0854c18a1b8ceaae736ebd9f7576d8941
MD5 5010ead708546df5f7a3730c5bfeec55
BLAKE2b-256 053356c4e2885be24315eda49951744ea587e3ce471b92a115954fa6baa3ae5a

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for tlds-2023111800-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 541dd5803b8b28593a263d9ccdfdc665d93aea8dbbf9f7ab749ffbe0d6bd28ea
MD5 7f1173775e2ce9b2152a8ec438868594
BLAKE2b-256 f2e1dcd64bd8d1dc0c976157e5d808e48b56d9dbd15d7e3a0bb0e6b1c30a2334

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