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

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: tlds-2022060700.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-2022060700.tar.gz
Algorithm Hash digest
SHA256 ff82a62618317cba6211945a411910be9dc15e3fbe7b8fe49957f3af1c224b8a
MD5 b821d7cccf933f84a61b59e9b3012b4f
BLAKE2b-256 81f2ec3aee56eaa36347c749294b8da4ca9f37ccca193e42a7da8956b29c782b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tlds-2022060700-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-2022060700-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 55c612764467b34d41ce33e8fc5acbebd0d58e151f4a390c7fae8cf1fa123c1b
MD5 f77694b414a0b604e9760e67ad7872b4
BLAKE2b-256 52a67fbcc7a268cc109c761d6bf3783e9bb4b15e7d227886037c7055ee27f4c1

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