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

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for tlds-2018052600.tar.gz
Algorithm Hash digest
SHA256 0eace40e12273a13f8c843d44694abd1f7760171de586a63aceb40b3d5b2fc93
MD5 bb98536fd40590675c82d0dcacb7abf1
BLAKE2b-256 8c14d70e293f87aa7cf33014aab0667775936b7fd509cb20f5e9dccde4a53cb5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tlds-2018052600-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1cfef874fd34d428790a1185a7116a99ca83f7619aab9d675b0ff0a761729a62
MD5 f2fb8700b89e8448d3fe7ca1116c64d2
BLAKE2b-256 851c49ee97e85bb8acb837e5b50db8904cd6ec1860a8e6960b7548120e1bab5d

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