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-2023071900.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tlds-2023071900-py2.py3-none-any.whl (8.1 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for tlds-2023071900.tar.gz
Algorithm Hash digest
SHA256 cb3bc8271003dce18d9cb417c0d525a8ad923d3ca31528b773911aaaac2603b5
MD5 54d9231b88b5c466758869dcf0aaf6a9
BLAKE2b-256 9810614e1b4e0fbbf815a9adffd068fd9505cc8b7a2cc850b1e8b682c511d14a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tlds-2023071900-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.4

File hashes

Hashes for tlds-2023071900-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 bd581a073634326f147f04a9e6119c2ca6eaff7a1f1350accb3352489df01d99
MD5 c8c67ee260bbc5a94cdeec5ab3c5a902
BLAKE2b-256 59e688026ee81aa5b6ae528be6257a7cff6fe3eb87a6f0fac44dd41fd4240d2a

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