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

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for tlds-2018040300.tar.gz
Algorithm Hash digest
SHA256 52a901f2dd8a6d69ed74cdbe8afc1651a425757b87073fe0f349fdb26b813e42
MD5 b985df1aff63bbe5115e085313a3db69
BLAKE2b-256 2c1c9629957b5623ed74c7dabeec1348d74b4cbf6878b0315612516477e64cc5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tlds-2018040300-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6f7a35e59562eeac7f8d3f98b136734ee35cd839962c3430ef326a19d3f97c2e
MD5 b59eb3d3ab6b3b00d44c2aace98d2bca
BLAKE2b-256 4b5f27d48c780301abc98d0508f047db56e784dd22c9804473c41354f8b09f41

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