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

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for tlds-2018071001.tar.gz
Algorithm Hash digest
SHA256 d23dc1ad6bb6a7767b600dce0633fc4f572777122dd53399b25d3456fdf4eeb7
MD5 ca1c5cf173ae6694314342cdb726294a
BLAKE2b-256 46216b78a9b01037097432a85e626f3c2c481cb57d975b42de3fb132d14ac7c4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tlds-2018071001-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 9ceb04e6648dbfcd6a09d544fa304a0c1cf0b1a3bcdaa5c937114874379c7fca
MD5 43e5d0685304173d364f36b5fcb2d7ac
BLAKE2b-256 46e7e3a813080a5303513ea64f5da59ca79f68789290f7f1eaf79300e484ce9a

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