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-2021011202.tar.gz (1.8 kB view details)

Uploaded Source

Built Distribution

tlds-2021011202-py2.py3-none-any.whl (8.2 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: tlds-2021011202.tar.gz
  • Upload date:
  • Size: 1.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7

File hashes

Hashes for tlds-2021011202.tar.gz
Algorithm Hash digest
SHA256 e0cca677995fbf6a69d2b8b6b46e9d914526a2460029d22111977e337e66a514
MD5 dcb3c304895ed9c74e9158e00e880457
BLAKE2b-256 0f9a42ce5f05a666640d9df6e41ab1e2cead489615b2e16fd1b1ddfe97378bf3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tlds-2021011202-py2.py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7

File hashes

Hashes for tlds-2021011202-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f2f6ea1089b2e9144770b4f48c64c11817210a0d92a52f473301759ef5b2df9f
MD5 ec55b9d8e07567e88fc5a83d296665e1
BLAKE2b-256 53e53f8790cffa41a469bdb5c7552f7e67696dd9f2484bd3892609eb09b966ef

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