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

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for tlds-2018032900.tar.gz
Algorithm Hash digest
SHA256 a32f6136662f1cfc6611515eb6640293b9d5c94801a3ac7ed7c0049610eb2978
MD5 b32c976155311f9614780f98dde2b2e5
BLAKE2b-256 d6f3e1762924d0c80faba33961a8456ef0b8d7cbd164ff4d3ab7223e62933f7e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tlds-2018032900-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6da130d55ff2b5201fdfea808b06bf0b2c5124f80044601e1cf9841f4d20b13b
MD5 55985153528c25dd4e4afa8a9936b8ab
BLAKE2b-256 1cb8ab0e0ff3bf007ed2c4dc05d24a5cc9aab02905f6a915431f1837c640250b

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