Skip to main content

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
>>>

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

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

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: tlds-2022050900.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-2022050900.tar.gz
Algorithm Hash digest
SHA256 1d3d6aee374d4fb089af61bf9647c8992d260378f0b15f60f746bc2bbba4cc61
MD5 75e5e1119b4e1f04b9bcf2e79bb8815c
BLAKE2b-256 5d53536b459985d067a3c507d0fefcc8b910bc667aedb5c41b9efdfa8db41a25

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tlds-2022050900-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-2022050900-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d278d3ed6311144bc395e0a0749d5172a0d971c247c9919cbe3f7ea41b1852d6
MD5 a9d3d3ee7bdf4955c9096a1c69cdff10
BLAKE2b-256 29fc07c1db2c6a2b4941fe328a5aed5c7c1e46e5451aedec9078a2d432488c39

See more details on using hashes here.

Release history Release notifications | RSS feed

Supported by

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