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

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for tlds-2018051500.tar.gz
Algorithm Hash digest
SHA256 895e10d54b73cdd4ecafba9aa7e90d980ff3fdfa1206c00acf94b71fe83c263c
MD5 1d7f0a5b41f864e636b053ba6886fa60
BLAKE2b-256 c54d81a8e9e8f43322409349e0a3c606de531aad2ff370c40313df9d5a27d2ba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tlds-2018051500-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 608b85623c94177395e4b8bb77ff9b3b3cd88e4ddc6a38a220ea87e2aed8c915
MD5 023bdd5b1a7f7423b9d14f4c4f854274
BLAKE2b-256 0806bb36778fc71fafe4d9804ae57ffe92431374c36bf74829a3e9781e52f8d2

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