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

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for tlds-2023080900.tar.gz
Algorithm Hash digest
SHA256 0e234f098477fc3b51511ea2e1841c77f1b03332c4f1c14340ae06d9111a88e3
MD5 f61ec249f2b2a69ec5ddbeb41fe01c71
BLAKE2b-256 20fb3d5cd8beddeb51cbde9d3fd2121884daa1353bb42886cae62856c88a09b9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tlds-2023080900-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.4

File hashes

Hashes for tlds-2023080900-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 9199a8eab0bf8fdd0f8d98b317d8d6c88a4ce318967a1237ab6e36f194f2edad
MD5 7322638858d2d1bf0778dce49a112591
BLAKE2b-256 4113bd06549a83d1617704a8653e29c0a1059769133a4e84efec3de5690c612d

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