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

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for tlds-2018033101.tar.gz
Algorithm Hash digest
SHA256 2a7c91e112af5144133aa94d815a37cbb7a4c84144e91d874ee2b42e819015a3
MD5 1be09504f4aa088af2e7b2f9f2f0881b
BLAKE2b-256 e6b3473ad48379fbc56fff08cfab8237fcc35aa4efbf449925d2ab072dd63546

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tlds-2018033101-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c2cec06d4243517f9a90af812153285f072e562dddbeba669c1c5787d8a55bab
MD5 728110e3d6153038c155c4abb2d0920c
BLAKE2b-256 e502e70cad3925d26df4bd0048ae039aa0717c01d2c9f432eb3b9d8d080c9a6a

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