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

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for tlds-2018052100.tar.gz
Algorithm Hash digest
SHA256 c2ee33dfbd55a4a691c90da4d3170130c2749bee0ec2654bf82a63ea242526f1
MD5 c33786b5a9629c79c0973092e4f6dff0
BLAKE2b-256 9f8a4721cedfb5f07f2de53591ea1ddc38b1fc19d7c1e0d0d3b681fa33db134e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tlds-2018052100-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 262e4c96f399209d92f9b909a45c9f275b932e898264ffb0c0f2dbd59cffdf43
MD5 f56cd0be1ff838c42f924890a09803c2
BLAKE2b-256 c63c75f4e638d0cb0d53320528af39d89b496e3d16ad6174badcd891b29ae8b8

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