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-2022050600.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: tlds-2022050600.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-2022050600.tar.gz
Algorithm Hash digest
SHA256 a64044023d83bca6a9e10b54e6d8c2c6c5d16b122569db1565c6598efd26c034
MD5 b8faf2af0af68fbe1b56c140e167d4c5
BLAKE2b-256 0d0eb5d9265056b05896bef258bd6b479c59c1e1a930b907dce7900154004c88

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tlds-2022050600-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-2022050600-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 121527acc75b96ebb08473768e27e49a5e1260857b2d02de59eb3af97bee01ae
MD5 7c10fa0fce8e7e504549a6a951674a9f
BLAKE2b-256 f66cf3309251dce456a06422b6ba6c78787a2d71676992c343787e6d338e2288

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