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

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: tlds-2021072200.tar.gz
  • Upload date:
  • Size: 1.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

File hashes

Hashes for tlds-2021072200.tar.gz
Algorithm Hash digest
SHA256 0890b3a5b0ef22d06b2aa8798c110b37dbe3f3faedf9623a5eddecfb7725d215
MD5 c690f77cf52404d023980fa50cbcc166
BLAKE2b-256 ec3124e899b13223451c5ce3b4c419ce8dcafa49b7546c8da701be2bebdaef6c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tlds-2021072200-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.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

File hashes

Hashes for tlds-2021072200-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 20b3c5689539165b77c9be0ec6cb5e8e9415cea45291820b6af8c39bd40775c9
MD5 75c4495adfdce2274172f9e17f319e6c
BLAKE2b-256 992340c8fbbc81e2a8864b77cf4e8f0ca825a7d103aad88a6c43985c95e32f53

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