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

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: tlds-2019051600.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.3

File hashes

Hashes for tlds-2019051600.tar.gz
Algorithm Hash digest
SHA256 0e5d51e5d363e5028d032fbcfafcb704a54fcdf2a9df174d4d50692dbc02d55b
MD5 a46ad2b7ed5c972c3bd34f4ed5d3a31f
BLAKE2b-256 d5291fb2c54b6bb43a9deaa50fd8379989e0c9fa97f4107fa6c6ce9081b7155c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tlds-2019051600-py2.py3-none-any.whl
  • Upload date:
  • Size: 8.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.3

File hashes

Hashes for tlds-2019051600-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5b5cc24824f9bbfc27d7ac36dc9d083672cfd4d6b0ca8c1c8a01979f1c7cfb42
MD5 a3bb0a68c15a57d5f1baf931e3debdae
BLAKE2b-256 24a6da1d74ee349bd8afc93f6bf8d74e5fc9fd19c5f0f25eaf8b5b5e8eac428b

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