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

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: tlds-2018070502.tar.gz
  • Upload date:
  • Size: 1.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for tlds-2018070502.tar.gz
Algorithm Hash digest
SHA256 ba866cad6b5b218667f8be04b24c966b87a721eea7ba33aed21872f194ecfa48
MD5 f970aaf2ca1692757f546a81c3f8778e
BLAKE2b-256 979fa12cfa9a2bf3013a374e9b872e699ae8fd89ede177b1c38687c1f0fa44d0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tlds-2018070502-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d1c1091ae77107b5ae954e83aca5a055e500b2b0c83b12120876b4315b71fdd0
MD5 39283586805b8dc66791fcf84ff5442a
BLAKE2b-256 2a1f769ad938f9c053989cc142aa1651394a6fcdf9af8cfbedd2a93b052a03d6

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