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

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for tlds-2018050300.tar.gz
Algorithm Hash digest
SHA256 11530022ae1b6583708d3b40f4579f66a5e38baecde905c53baf93e42d73e482
MD5 4efef5dd2462b835b19c92feca580734
BLAKE2b-256 76136d86f2e7ac09d03b1e214d07685f31707294ef8c839feed279165f2dcb41

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tlds-2018050300-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 58858175109e4c5cf435119a4bf2e4728cf18ae918170fa4983fbaa763533a67
MD5 8b812e739df7abb548cb07679a50a74f
BLAKE2b-256 277db820cf5a109045b3af025fdc163c85fa9d3070387ff53c8ad843f4383149

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