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-2022041600.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-2022041600-py2.py3-none-any.whl (8.2 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: tlds-2022041600.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for tlds-2022041600.tar.gz
Algorithm Hash digest
SHA256 1febd6f2d5813af3aa7b461ced9a961e05b2ed849aa1d510e75427102d40523f
MD5 37fec1adcc2c09bdfcf52f0107eb455c
BLAKE2b-256 0b0b0075aef43515bcd366f1bd3a57cc406d8bd7146a3821275bd4645def2bf9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tlds-2022041600-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.0 CPython/3.9.12

File hashes

Hashes for tlds-2022041600-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b53d486d584174280ae89b6b283686a81c4d98bad8d07760ad45f95b9979fdb2
MD5 c532dfaf8cd168e62fa3485d3eec9ac5
BLAKE2b-256 af221f67334ae93f20646febdcb217c4ead1c6583d77d0cfd0f5ed35aeb6b206

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