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

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: tlds-2023102600.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-2023102600.tar.gz
Algorithm Hash digest
SHA256 4f43dc58698e6e8063768a13966b3c905a2757b95769b72899d3f70d3b168540
MD5 2ee36361c62ef87ae4e2f96c94d6f3f7
BLAKE2b-256 62754729b5e166ced00f73a70cd86888557039ec0560ec0deec64cff1276fd53

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tlds-2023102600-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-2023102600-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 9916e91777b1c98bdaf466867b6087ba9d70dd611bb1054487c6805ec1afde26
MD5 10434043a0fe1632ccc9aed38b6e8e2a
BLAKE2b-256 51e84f3fc4de2ef581767fce7d763b9df8f8b69dbf50f3d96b64f78a7c9a8585

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