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

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: tlds-2023110300.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-2023110300.tar.gz
Algorithm Hash digest
SHA256 d22b1a5cf2e8280a1f6e5d8a1f7e5df5702413ba5802c801f0c9ef55d62def4d
MD5 72a8c7e3b19fbc9973ca06c73239c815
BLAKE2b-256 5743e276246f2604fc513b31575fefe11c4aef42c31a6b116c79e369bb1d5ae6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tlds-2023110300-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-2023110300-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 cae2237c10a5cd847517b72718ac71bec52169e689830cf208541a967846aba4
MD5 0f79e84dc545f8f6f1e24ccbfe757671
BLAKE2b-256 ea6e8d7700d04b99e0e687b311d92614805356eef6bf6c05b7ea968d464c0e31

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