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

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for tlds-2018062500.tar.gz
Algorithm Hash digest
SHA256 1e86c6658812a1acd474b33a5078c5630a8bec24b225054d7ee923ef4b1c04ce
MD5 10b5f717cd2586e351f2721696017f4f
BLAKE2b-256 f59f7acdbe774a4cf066ab45fe486a68fd6cf92a8df4a38d808252118fc8e9cd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tlds-2018062500-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7288746efb42ac35e0a26b96bb767ac82af6dc5f211ecb5b448cfc04a0c7aab5
MD5 c3267264ce056a6a0151031ac5b3be13
BLAKE2b-256 8202ac13d0b133a81cfaffb2acaac8f75d2a7c86788c2922a8cb1c506e6bed4d

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