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

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for tlds-2018052800.tar.gz
Algorithm Hash digest
SHA256 eea10c75b6a6ffd0edc270ca4aa45baf9009a7da72816718b1a8b05bcad51ad4
MD5 ecdd56600dcf4a62c7372e55917cc2c1
BLAKE2b-256 499b1baee0eea37776dbb2045a583f6d61ffaff541115156af327ec9bc0fa2c0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tlds-2018052800-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 24e2cd09c960ef390f8b42f7b61b7d4b0530c8b1333339449073067b191c8799
MD5 5b22cbd330463115d6775618e25d019a
BLAKE2b-256 03d931a65034a8ddb4bcb2204dcb24d5ef89980433cadb03443377ce98e5790f

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