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

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for tlds-2018033100.tar.gz
Algorithm Hash digest
SHA256 207a9e74ffc3644f041056d21fa0201f1fda36e2aa4be115e3afd9a747d31f16
MD5 bb32830e95993e6909af861974d84fd2
BLAKE2b-256 29d5e837fec98028c72a201d6e65ce407b865e1503c3b3c9d38c5c579d317450

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tlds-2018033100-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 3742104dd68f24b638ab4cc49c147a2c78accb826386c8cb0d51bcd222aeb346
MD5 a8940b0520c2feb8f2c9aac0b86e0a7a
BLAKE2b-256 bf17a59b2b292d27cf0ffeaef394d8c6e55cbfe9c8f447b5d60b71ce3662ca39

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