Skip to main content

Automatically updated list of valid TLDs taken directly from IANA

Project description

The tlds module provides a a set of valid TLDs directly taken from IANA. The package is automatically updated daily.

Available on PyPI.

https://github.com/kichik/tlds/workflows/tlds%20build/badge.svg 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
>>>

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tlds-2020112300.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

tlds-2020112300-py2.py3-none-any.whl (8.3 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: tlds-2020112300.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.8.6

File hashes

Hashes for tlds-2020112300.tar.gz
Algorithm Hash digest
SHA256 f9e1e81beae35e3af51020d4f626a029a05c18282747b75646b2c235909e33dc
MD5 978c7ebf1d829df55feec09545c7da9e
BLAKE2b-256 b1a9ee338470d6914d6b5d7c47c335fbefcfe5818199ffd0f34494be2ffd7a0c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tlds-2020112300-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.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.8.6

File hashes

Hashes for tlds-2020112300-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1d04f0a7ca32f8003956abbee6b5a21b994f3d2586a1c17996802365e4218ddf
MD5 e84b2b55aaacf160f6c360e60c6388f1
BLAKE2b-256 c3cf7a2b5d90ac3f9384cc8abb6ae359551b59cb753e3be8de5be91d9fb5806e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page