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

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: tlds-2018080300.tar.gz
  • Upload date:
  • Size: 1.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.3

File hashes

Hashes for tlds-2018080300.tar.gz
Algorithm Hash digest
SHA256 11d08223f0fc36483a24dbc6789887b8608c8f4baa2b7a358f1898b2d30f9412
MD5 8c48adef361cc3f1dc5f361299e3f744
BLAKE2b-256 2d5d10859eabdb810c4db75bdb9be4dccc048834715c7400805403ebf2dfc220

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tlds-2018080300-py2.py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.3

File hashes

Hashes for tlds-2018080300-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e99006747d7db72c367f6bdd87139ac8d2131fe96c2cf5597fdca30ff097b4f7
MD5 d7c7d1e2f730ca31f4f04d50f191daed
BLAKE2b-256 2479aaa8b456fd8c2191d05195f04f8af54f75cc5ca5159856d8816a69ce14fe

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