Skip to main content

Automatically updated list of valid TLDs taken directly from IANA

Project description

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
>>>

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tlds-2021120602.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

tlds-2021120602-py2.py3-none-any.whl (8.2 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: tlds-2021120602.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for tlds-2021120602.tar.gz
Algorithm Hash digest
SHA256 ccc56e62be3399b0de2fee33af485ecbd6f16d77fff757213577cc22a2cbb924
MD5 61817d315ee04b6d88d665998f143c39
BLAKE2b-256 681be877c879d1a824a6854aa06bd147b95eff498522c7c543918bad8df810d5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tlds-2021120602-py2.py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for tlds-2021120602-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b5265a9d11b15249f770a5872c370c691b1b1b1383c535ac4e678ff9fe2aaae6
MD5 bd84456a09e7d5986cce91bcfc38b1ac
BLAKE2b-256 e68f6097ab490ab1980d2af671412c63c7f57b7b2c9dcfc8a2d8293432d35cef

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page