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

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for tlds-2018050700.tar.gz
Algorithm Hash digest
SHA256 51a241c60da111799f9826b4ac1037668ab564718e4edebf567f283f96cd8825
MD5 b16498898c7ef74a57927b3a29f8f2ae
BLAKE2b-256 f57b8e6d6aaca3088eea085499e88330084b8ff93a2791971eccbac736000329

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tlds-2018050700-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7559990f7bbf7a54a3067dca62ab5f698e89bc5d0fe4725ee93e3ada3c1f192d
MD5 fb58ac09ef60141c94d688c1f0438817
BLAKE2b-256 6e69d8ebdafe77452ec7307050581b4d0964f8914f54b37a1c804047e426b0ea

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