Skip to main content

Automatically updated list of valid TLDs for Python

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

Metadata

Release files for tlds 2024020701

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tlds 2024020701
File Size Uploaded
tlds-2024020701.tar.gz 7.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tlds 2024020701
File Interpreter ABI Platform
tlds-2024020701-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 15.9 kB

Release files / tlds-2024020701.tar.gz

Download URL tlds-2024020701.tar.gz
Size 7.9 kB
Tags Source
SHA-256 checksum
How to use checksums
462b5dff89cfa1a3dca4cfd2fb81a53acaadee3fe618b7a018e314d692e0d3a4
BLAKE2b-256 checksum
How to use checksums
68fa42b0354b6b4b733c96ae7c8efaed765d4dba8565d7313adb747ff66456f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.8

Release files / tlds-2024020701-py2.py3-none-any.whl

Download URL tlds-2024020701-py2.py3-none-any.whl
Size 8.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
e061ec51d0ca160ac64b8c228b0cf72b544aeb47249d82dbd1b5681245b4444a
BLAKE2b-256 checksum
How to use checksums
c1e98a777e681ba17d8e84eef81bb2a00ffb6c8e7c351ab60379868c8fc7df4f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.8

Release history Release notifications | RSS feed

This release

2024020701 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page