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

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for tlds-2018071000.tar.gz
Algorithm Hash digest
SHA256 3a04d2fd66e1946096f0e4051f2ef0d0518ac3606dda9f4a36440cc1b156b8a0
MD5 604ac3498f34d159fda9f75d6f47b99e
BLAKE2b-256 7a6845e59f6ff1496e621b9e61483c7f1179359f23d4f23e0017562178f8d383

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tlds-2018071000-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ca8adc5bfb40d789d9bc19c3504cb9f724b223fb3d9410397355a5d115b82673
MD5 e5bc59a1fbcb3c11f1d6bc9763bc1db2
BLAKE2b-256 6dc3e078e8e209c22f6fcca4f375fadc34d6b660a9250d23690488133c95aa56

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