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

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for tlds-2018060500.tar.gz
Algorithm Hash digest
SHA256 1c53519a9fed15eb2fbb09b8a642f3165486412d79749cb39df5f9d738b9c198
MD5 967dd73ac42be431b4e4e25ab249b688
BLAKE2b-256 b3435362a37ae0b60f2aa31bd575ad1c9b42d865cc230a1dcab1571ff4f0e24b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tlds-2018060500-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a83a089790a3afb48e2ccc818f1cd0cdee8345f3ba3355960a8d76eeb231023b
MD5 60289464c534a6123b6a43e3dff31641
BLAKE2b-256 e8dc6140ba73c2d888f99b1940c139fdff6d6479f97ab4b4a3ecbb7c5bcbc6ed

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