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-2023101900.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-2023101900-py2.py3-none-any.whl (8.1 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for tlds-2023101900.tar.gz
Algorithm Hash digest
SHA256 df9f19e00ca1fe13561e1a88d20ad80fd6ab216591416cc6a1c5e79e086fbf7c
MD5 075a51a2412be64df519cdd722f9a935
BLAKE2b-256 2a224e3283d959cfccee93abdd961dd87128a64ad979675da5635943e911c089

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tlds-2023101900-py2.py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for tlds-2023101900-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 bc80aa49858f83dc479f52c735486551ab42eaf09a2b8123cc04ac1700d8c041
MD5 6a2634e67d2fff988feac86bd2240f9c
BLAKE2b-256 8b75c53aaf687423c921eaa0feb3ddb3ec146cc7d82839c77c5f6b9c34586711

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