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

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for tlds-2018042400.tar.gz
Algorithm Hash digest
SHA256 a89e2934f8a92e77bf0774cc9d2840b58099fc3f804084d36adfb32eac534665
MD5 6a7e2616a2ba87794635434b39560b1c
BLAKE2b-256 46270a435cef0845f3108ccd3ae31b52aafd7ad182a8df8dc0cce03d4f86c960

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tlds-2018042400-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 472d22db7ddf937728b7e730f69c7520acd386667ec7ba1ff7f8c036019b67f2
MD5 57360c33ccad3dc22e6f956ef067f0c2
BLAKE2b-256 9184b8bee69d67002af8f3eb6f888f406c1636cea9d43f05af5a2241008d3df9

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