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

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for tlds-2018061500.tar.gz
Algorithm Hash digest
SHA256 9c56c5f1c382f850921db8182891d2d7a2ff81d59e8a69e8f8ca2ed2b0742a86
MD5 9d7107d0cb3a324512b11c62f6333db8
BLAKE2b-256 3c5fe39ea7363db709b7825cf7b364af818c46e6ae331918c584dfbc44ffe907

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tlds-2018061500-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 717e2e97edc5feab17ecd0ae41a67daf253a8862e63d019d2183f27daa797c30
MD5 9db28a1feadd190795c02d633603355f
BLAKE2b-256 969d94a5d0f89d869e15dfa0c020d2afaab8e5df63e67cf7d4fb7cc80fc5d6d1

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