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://travis-ci.org/kichik/tlds.svg?branch=master 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-2018061100.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-2018061100-py2.py3-none-any.whl (7.6 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: tlds-2018061100.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for tlds-2018061100.tar.gz
Algorithm Hash digest
SHA256 14585ffe1f96664aa1a55bb0586010ac754e1821a4391dba84fe8699dd9d4c89
MD5 32c21b7f17f89db7b196a46dd83f78e4
BLAKE2b-256 9da008dda5a84ee93a8985fb40365ddf75b563de03d5b17680308465ee8b2825

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tlds-2018061100-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e8078c60951b73e9d7ea47b0656d5785af37e285c423f8918d4f78304d6ecd97
MD5 0bbc224ad171b40a294550ea7d763fd8
BLAKE2b-256 c68a4d1667c1e9bda62400a299fe637ef01d9f603f661b210e1a05579b04a577

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