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

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for tlds-2018070500.tar.gz
Algorithm Hash digest
SHA256 a756bfe7d9a7cf18879127b5c37dd80a848d8c2ef66e2b55ac1b2c5de0da2182
MD5 f72859bf047679dfd2aba75c28c2595e
BLAKE2b-256 2f60c23313b557c91bfbc3c7d0cff68befe23e560a8b4f3ec406e00b4cb20f4b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tlds-2018070500-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a14735cdccdd12c255e14078eec77751f05f2b3ab6166fcfcbee2566acceda8b
MD5 cb0da07e091c51e3e6b4b46c0dce0c3e
BLAKE2b-256 5bb9079ba6b702e321d0ed4d34dfd4f24be9b68688a2349e2a71139036d445f8

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