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

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for tlds-2018042200.tar.gz
Algorithm Hash digest
SHA256 760332c884468e7c5bf728a6f3512fd3e8e8b16e2d12f46b717fe1039df51e02
MD5 b8294db4828e6c1ef41dacad2e2f7435
BLAKE2b-256 6b27c0fb3d918dd8f8b797a44c6c946b5f8f9444bf27126001786fedc33a9fec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tlds-2018042200-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f0803b8f86dd8528d5de1ec71e236871b575a657c9dd95d2c03990366f0a6fe9
MD5 b724b71596f7fe6a10d6e12dbb1f514a
BLAKE2b-256 092933b2115266a2bed3fad542ad471c43292875773e6ff7a3e40feefa1fcadd

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