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

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: tlds-2022061901.tar.gz
  • Upload date:
  • Size: 1.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for tlds-2022061901.tar.gz
Algorithm Hash digest
SHA256 da7866e646e11b61d3797edaffe3e7c7d33a8c7b875d645be74438f2cc528af7
MD5 6ed18040f9c28442539c996337fce5cf
BLAKE2b-256 dd88586c4a80a9b2417012571a642cbe1f912ba77b359c66a6c088eee2e09de9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tlds-2022061901-py2.py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for tlds-2022061901-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 3d2a0630a1bc32368790f3730d96cdba7da47b37253eadfc29797ae636961848
MD5 e02ab774b785d9a2e42268cfe4b34e98
BLAKE2b-256 e3204afd839cbb9573041faed4d909437d04c97a65752f52f5f67561845280db

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