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 2023101900

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

Built distribution (wheel)

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

Total release size: 16.0 kB

Release files / tlds-2023101900.tar.gz

Download URL tlds-2023101900.tar.gz
Size 7.9 kB
Tags Source
SHA-256 checksum
How to use checksums
df9f19e00ca1fe13561e1a88d20ad80fd6ab216591416cc6a1c5e79e086fbf7c
BLAKE2b-256 checksum
How to use checksums
2a224e3283d959cfccee93abdd961dd87128a64ad979675da5635943e911c089
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

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

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

Release history Release notifications | RSS feed

This release

2023101900 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