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 2023071900

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 2023071900
File Size Uploaded
tlds-2023071900.tar.gz 7.8 kB Details

Built distribution (wheel)

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

Total release size: 15.9 kB

Release files / tlds-2023071900.tar.gz

Download URL tlds-2023071900.tar.gz
Size 7.8 kB
Tags Source
SHA-256 checksum
How to use checksums
cb3bc8271003dce18d9cb417c0d525a8ad923d3ca31528b773911aaaac2603b5
BLAKE2b-256 checksum
How to use checksums
9810614e1b4e0fbbf815a9adffd068fd9505cc8b7a2cc850b1e8b682c511d14a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

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

Download URL tlds-2023071900-py2.py3-none-any.whl
Size 8.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
bd581a073634326f147f04a9e6119c2ca6eaff7a1f1350accb3352489df01d99
BLAKE2b-256 checksum
How to use checksums
59e688026ee81aa5b6ae528be6257a7cff6fe3eb87a6f0fac44dd41fd4240d2a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release history Release notifications | RSS feed

This release

2023071900 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