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-2018032301.tar.gz (1.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tlds-2018032301-py2.py3-none-any.whl (8.6 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for tlds-2018032301.tar.gz
Algorithm Hash digest
SHA256 f9ae100e3381cd46094a61074f9c962752789a96ce152062b3971dd310aaf47b
MD5 3e22ebedc22e28ddd81913a7fa4cfb9a
BLAKE2b-256 fdb6172ea75295c2e75bcbc35c62da5a6bda0ea4cedf3484ab6b0e8d1487f3b0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tlds-2018032301-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 960ccb0eaf6afb82cea5472f4ee7648c7fc8d0d314d2fdefa844f9f411f14eea
MD5 a1495900e075fc1d88af97a7859f6bfa
BLAKE2b-256 1f2e5b972613e8b7e5d8ea6515ebbaaf6398a5e923c79e1237c7a3da68ac6f1b

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