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

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for tlds-2018052700.tar.gz
Algorithm Hash digest
SHA256 206c3a70f9c1691e213e2f99aaa888377dc767b59e957c508f07debcc81101f8
MD5 b4e785b3f6dadb7a51c940ad5e922f4c
BLAKE2b-256 2c339a678efaf0497a00592d18b15674481644fb3991ecc34b48a657ab03676e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tlds-2018052700-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ddee97b01391e7a5d5777edd46456282a09804079be18b1c612a452fff291f65
MD5 c73f7341ffdc29a0f85ca4e55b4ac206
BLAKE2b-256 12e53483a98250bf9e549ddd74d69f4755b92bd5d2fad0778072f7917810ea5f

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