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

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: tlds-2021010600.tar.gz
  • Upload date:
  • Size: 1.9 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.0 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.7

File hashes

Hashes for tlds-2021010600.tar.gz
Algorithm Hash digest
SHA256 734289fa9a3afba5a24a568f1dc3fb7b66a0ba892c8dee63b39bac535ed9bb6b
MD5 ca7c57000810f37dab427ca96f3a82b5
BLAKE2b-256 65d02c61ac91c1e2146a093c991499e677d5a213c863e9851c437f572401f503

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tlds-2021010600-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.0 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.7

File hashes

Hashes for tlds-2021010600-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4c1126868cfbdc0ab73d2b9c15942d64ba87b5ebceb6c0fb9f1436b24fcc605e
MD5 3ffbb5487531bbc82a6c6856a17fa0ad
BLAKE2b-256 0ae5788937bb8340f1e972c8cf9978a878362c6e9dc8216ed1d209fc5d06c3e7

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