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

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for tlds-2018051800.tar.gz
Algorithm Hash digest
SHA256 3a586975b83b4a601d103142c3bda0ecc3ea17e6f176907588d72d726083f04d
MD5 fcae89a4fa2da748a7b1695253941a90
BLAKE2b-256 fe1c2227e6f24cf55479d63b1105d2f8c870f638ade2f4e95216f9e88211244f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tlds-2018051800-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0c1a05cb292111124e4c606830ddf99d78b9c607bc6b8ea569594b22481e3fc9
MD5 5423f266ce0aa364228aabaac2bc3828
BLAKE2b-256 f7230f680231682590a7a97d36902873570d61b02b349441825cbaa9f690f7fb

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