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

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for tlds-2018071600.tar.gz
Algorithm Hash digest
SHA256 419accda39fce159027443637b77057ad321bfcefff9035de7a9da43b02d413e
MD5 758fda50b37b7027213f530f2d42b9b0
BLAKE2b-256 80805c888de4e68110cd69a6d7acc6a6b0e88bf668ef5e4d4006868e198a721d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tlds-2018071600-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ae7f38f9ae55c904d9ceece75130b709b1986ec06f92167e0c8adb0c60ecaa10
MD5 ea825f48ff97d64957515526dd9b66d7
BLAKE2b-256 ab26616e6a6d44764f0b6f59545bbe0fc117c93db01da01a71fe16e58bc33225

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