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

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: tlds-2019102700.tar.gz
  • Upload date:
  • Size: 1.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.5.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.7

File hashes

Hashes for tlds-2019102700.tar.gz
Algorithm Hash digest
SHA256 94b797b01f800ceeff32b4396a634caf7277dbabfcfd5319eb113fc7dab4cd48
MD5 72f19aa68d959b475fa551164ddeedd5
BLAKE2b-256 122f4df870d45acc40fe03523234a6c6b3c6ccb91f2380c1df647e53f8be32e8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tlds-2019102700-py2.py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.5.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.7

File hashes

Hashes for tlds-2019102700-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b78d74308e15f7b64d8aa9bc393ed16ee84df3bcd9f1d5d98da78de38afd0e52
MD5 efe4e9b9db04eefe031375e100e3ed5c
BLAKE2b-256 3e14d84b3f3bc2ed326da877780f4bf9cdcd00a7fc0ed90c0e73d05d1a8f5993

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