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

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for tlds-2018051001.tar.gz
Algorithm Hash digest
SHA256 336d4a9857582c8b843ed0fcd26366cda818c63227a43de50d1384fbbedf0a28
MD5 455e24c17bae42264489017465b7e61b
BLAKE2b-256 e0ffd75919db282a2200c792807144dd1fca3cf0812057fd439e4aff903aee5c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tlds-2018051001-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 3c1eed960d26d7e5e15c8ca54354f11bc7eae64ef23770d9a96cca45d3b72f1e
MD5 b33a6a72d47b0b03bc5d57e039bd73b2
BLAKE2b-256 7ef0c5c86f7f2cefea87fbad769469f2ed2c18ab4cf3e7b28bd7449bd2c3ce34

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