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.

https://github.com/kichik/tlds/workflows/tlds%20build/badge.svg https://badge.fury.io/py/tlds.svg

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-2022051000.tar.gz (1.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-2022051000-py2.py3-none-any.whl (8.2 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: tlds-2022051000.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for tlds-2022051000.tar.gz
Algorithm Hash digest
SHA256 9c63c3ee6c9bc439bacf229c67bbed729f155402b1d64f2bc09a045694fe3dca
MD5 5b30f46a81be5a0953c1f52527fa9a6f
BLAKE2b-256 315851e90591f9c021ddf7f8edb1f842b164c1ab8eaa5a45eff527ebee9bcf56

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tlds-2022051000-py2.py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for tlds-2022051000-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c4414a1162faa0a70428e6ab9a9ec5f204570bd74c950f3fcf2e32b9a85bde9a
MD5 d7c4a0fff0d5c37ae0d7177e62827ab1
BLAKE2b-256 3ec9443f641534bd7479b5e00e58c2ac9d2eca2a811ca8479d11dbd4eba7e55c

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