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

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for tlds-2018032600.tar.gz
Algorithm Hash digest
SHA256 d45da8474b35d557d43633763fa9d8e5df32f829251dc140820ce33a63b8e446
MD5 538af5aa2044545240d9b5fe425c2329
BLAKE2b-256 443129e606fd2f82bdd88e67f03344713ea42da2e75766cf32e00662381a69af

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tlds-2018032600-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c67141f4bcef858bd8b8991b0c88d8368a12b5567edbc56c00bc3910b3dba128
MD5 450ca8b5b7dc6eff2152654becffb3e9
BLAKE2b-256 0b3696b395395ec0565cbdb84f8a50adb1557e472dd8abbb16fc171165ce3ab4

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