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.

Build status PyPI PyPI - Downloads

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-2024020701.tar.gz (7.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-2024020701-py2.py3-none-any.whl (8.0 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: tlds-2024020701.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for tlds-2024020701.tar.gz
Algorithm Hash digest
SHA256 462b5dff89cfa1a3dca4cfd2fb81a53acaadee3fe618b7a018e314d692e0d3a4
MD5 1b5719680755d407dca313cfe05b6c9c
BLAKE2b-256 68fa42b0354b6b4b733c96ae7c8efaed765d4dba8565d7313adb747ff66456f6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tlds-2024020701-py2.py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for tlds-2024020701-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e061ec51d0ca160ac64b8c228b0cf72b544aeb47249d82dbd1b5681245b4444a
MD5 da3a7e40dbd2558c5b2e69c1fbed0ebe
BLAKE2b-256 c1e98a777e681ba17d8e84eef81bb2a00ffb6c8e7c351ab60379868c8fc7df4f

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