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

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: tlds-2022041800.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-2022041800.tar.gz
Algorithm Hash digest
SHA256 99e8ec2d60d4f9c3f91436aa9e5628eed3b3aaad272ae8282957c766fbd72e24
MD5 d9486e3f63a3f52c01a65c77a7197dfb
BLAKE2b-256 e9a3a7189c5b3c72ac99406b7c281c9b8bc7acb0c1003f3e6f6eb5ecb8ad6a74

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tlds-2022041800-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-2022041800-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 9d5765d8f63bbc1e40b32dcb5890924ab1a74396c4542f57a1e5402fd5d0ba61
MD5 7422a95164690a61a92c0522f1e2a7c3
BLAKE2b-256 947c8ac2c94aa3695bd4c7ddafcef34ecc85f6f0e96a4c1f3b6e7970abfd788c

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