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

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for tlds-2018051400.tar.gz
Algorithm Hash digest
SHA256 73010d4337fcf2cb8aa9b3c957efd8d75c493f76cef92177225273407d0711d3
MD5 d98a54301e3770fcc3fc4af920d21734
BLAKE2b-256 a64bffb19280923134268bf4af78f2d802be964c7ee01e1d738e2aff417a297c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tlds-2018051400-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e209bc3f162dfccc274beadef20eeb736c78ec9f1198a8d3b38470d9fa83460e
MD5 c430b4a0f3ff8b97a0b52b57282a24f2
BLAKE2b-256 bb93465e54e40c2a195f0b6ebee8c949329fe8a650dbd30e8e8fbce22dc95c96

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