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

Uploaded Source

Built Distribution

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

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

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for tlds-2022053000.tar.gz
Algorithm Hash digest
SHA256 a518de0bcbb8acc12baf54a32d3580063a712cf8778d8981c0124d6e443c638f
MD5 93222e9356f5e29838f05377609824b4
BLAKE2b-256 9bc3ebae0eecbe94abe3c67599b7922d3b6e6f3385ef19d6d4769a799b30f832

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tlds-2022053000-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.13

File hashes

Hashes for tlds-2022053000-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 3e70d25a725e9fdfbf51593466fe6ca403e0ac9f1b49b808c0f79124a3e613a7
MD5 4c889ceae83ca4a693290d84b00735ab
BLAKE2b-256 0a0ee39fbc6f215ce8deeb465e0e2736d781e41829735d23051a460b3a3de670

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