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://travis-ci.org/kichik/tlds.svg?branch=master 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-2020061500.tar.gz (1.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-2020061500-py2.py3-none-any.whl (8.3 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: tlds-2020061500.tar.gz
  • Upload date:
  • Size: 1.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.7

File hashes

Hashes for tlds-2020061500.tar.gz
Algorithm Hash digest
SHA256 ce5dc68d12498a284ee962dc924c6db78b19d0bc2b21c04602419adad29cf1a1
MD5 ed3a80bcc4a264dd70b3fa96689dc00e
BLAKE2b-256 47046394cbf0522ee16372c1faa449e31dae3dd10716bdf4a51e0bd47b18ae1c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tlds-2020061500-py2.py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.7

File hashes

Hashes for tlds-2020061500-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 3e6dc67a058859c81d6a4a1ca414c59c457e346e1de7bb8dc6f0d90b382daaa3
MD5 73e5946467aa5b2e5e1960bec72c5822
BLAKE2b-256 d2366239d11924a9bee3fc6de8e7d79a62feb8ff049512fe9b33dc4b3e1a3b34

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