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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: tlds-2021120500.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for tlds-2021120500.tar.gz
Algorithm Hash digest
SHA256 e1198a15013e6dd819a8713511e0b6b48a5b456499cdff60f3ca31c4001be7de
MD5 f981427dbd61d4652ddc9a5e3cf87fe9
BLAKE2b-256 a910a849096b65a5e5290d41be5666cfc5d6657cb3befe405f620be7879d32e8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tlds-2021120500-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.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for tlds-2021120500-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e9c2e7b682fbdab419dbf141cbcb5483cc87c49378355a3b38b30855253a5515
MD5 c3641d56b583d6c9dc7ad0b552938e80
BLAKE2b-256 7119cc9b1fbd80e2f90ff2b76788b53faa9cc27b7d2c9651f70e90558f167bbb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page