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

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: tlds-2019123000.tar.gz
  • Upload date:
  • Size: 1.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.6.7

File hashes

Hashes for tlds-2019123000.tar.gz
Algorithm Hash digest
SHA256 deba4b5bd6fa4036a92d98470b0baa7ebd971763441ad161e8396d5d6d660b16
MD5 30696f99b058a9e309cc2abfbef8c5ff
BLAKE2b-256 2a074f7263dc03d6ecd16a3596f389d9950ce9c3ffdd4091b87cabde91796b39

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tlds-2019123000-py2.py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.6.7

File hashes

Hashes for tlds-2019123000-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7633d89eab0925392488aecd2f18e05799f20d013895736ee7b1b26122e75185
MD5 19790cea8389f5d7aba9ec8d24b94d0f
BLAKE2b-256 619d05f5c3d8002357699c57eb4f76324890568c25e1a3024c9572f87ba9133f

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