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.

https://github.com/kichik/tlds/workflows/tlds%20build/badge.svg https://badge.fury.io/py/tlds.svg

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-2022050100.tar.gz (1.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-2022050100-py2.py3-none-any.whl (8.2 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: tlds-2022050100.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for tlds-2022050100.tar.gz
Algorithm Hash digest
SHA256 350af1df8a2e91aef975139231e761007dcf2dc829659afb6b6d38df334165ca
MD5 fff30e95a348eef760b99de5bd5c8268
BLAKE2b-256 301bfa5c1edadabc48ec08d991d4fc15d083d3afc064590939c30bd051a7f547

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tlds-2022050100-py2.py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for tlds-2022050100-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0939ae84a0038e579cbf6cab223c2ab83ab37e02cf319e047c58d8f6034ab08c
MD5 186295bbaec752459635234b5e11a8b9
BLAKE2b-256 4a6a8fd7eeac6a4d778ccedfdb96aba40ad82d9970817b17620017588aa1fd2e

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