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

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for tlds-2018071500.tar.gz
Algorithm Hash digest
SHA256 2024c49ca1f02b03558f1821ffaaf8e5f7c4799fb582d5f5011e00b43885d88f
MD5 00d09bea044bb0aacb3cc3071440bd34
BLAKE2b-256 f628bd12be772002a579c31c337b3095bacf18374ea7afaad012efb1d55396bc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tlds-2018071500-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 78f1e88485d3032f9d504c8544c4739e4ba601acc133ec985fa17a422df066d7
MD5 dbcf622886ecf93edffaa7006f95f274
BLAKE2b-256 0b213cd62a07a17d4250608049cca099ed0b21c6d109d036cec41d6a00430a55

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