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

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for tlds-2018052300.tar.gz
Algorithm Hash digest
SHA256 27a96cb13409d0a120bc43f461942d064cef48feff3bd5a303702d954d3e99d1
MD5 b59da92262b5d28a9a0c26ce98f0bedc
BLAKE2b-256 182aa2ecd6704e7a8f7b2bd5d148d0a8de40f03414dccb2d26a43c021f5438a5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tlds-2018052300-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1ef86e55df0250c260ed58e52f3d4e1fe68d02c88bfa1baba118c6ede8d6d179
MD5 2d5ff909a523628334fc050bd0d64d6e
BLAKE2b-256 69cc7f2d383fae942dce4432fe2336b8ff06fb7679b1ccc87c6060f71c811396

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