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://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
>>>

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

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: tlds-2020070101.tar.gz
  • Upload date:
  • Size: 1.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.6.7

File hashes

Hashes for tlds-2020070101.tar.gz
Algorithm Hash digest
SHA256 dbeaaa45dcf185801c94251d247811508b64d8e48e6468d48b5aa3d6add02de2
MD5 f2b85661f0c1975518c85fcac90a7177
BLAKE2b-256 1a47405e3f2f6b85b8c4d3afd1525a2e27793827b5c8d7c925f1aa4fd165347f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tlds-2020070101-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.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.6.7

File hashes

Hashes for tlds-2020070101-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b7bf1309cb2a27ce405114dccda14816bdbaff5805f6a52374a43e9856a0c287
MD5 9d2f7125a210167cbab070b905f39d83
BLAKE2b-256 28ded9dc33ef8f192f450e0c04fbc9364ed7fa312303b87bd7676f63f4cb729f

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