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

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for tlds-2023052200.tar.gz
Algorithm Hash digest
SHA256 a3f27d4b13ec204fd21746ac8f1646e7c25a6061d2f42c3d7451d38e1e2a6cc3
MD5 2c317bbf8920524e1ae6a31b9ae6878d
BLAKE2b-256 136b98df7a6fed9905b9404b18861cc6a4e768811c7063547dc14c64173698c4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tlds-2023052200-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.1 CPython/3.11.3

File hashes

Hashes for tlds-2023052200-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 966e23eb6405ef83b1a3642a5181efd16f62ae0b2ec4a5621eea8060be242c9c
MD5 d595f4cb1bf58d0dd35c33fe9502a55c
BLAKE2b-256 569044bb86b94cfaf58b80642258c034233a885a915bdfc6d08432c6f88fecef

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