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

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for tlds-2018061200.tar.gz
Algorithm Hash digest
SHA256 8e10ded1cf4f41921b077736cd8797a223c4ebb8504142b4a6e160e511320e8a
MD5 9be1deb921b8394834aa1f8caf6ef508
BLAKE2b-256 ea0521213d3c7609c05a85861cf15cae77655914c3bd4bf70fde739eaf3b8916

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tlds-2018061200-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4e7ee4bcb59541d84724e6465f4fee47fb97e19e276d3a88eff6100637702849
MD5 30e9777b6bbffeaa0eb546f54e34cbfc
BLAKE2b-256 3cdea29453bbf42e4f978391cd1af64c7913abe7efb9dcc4f964fcf15fbf3622

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