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

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for tlds-2018072400.tar.gz
Algorithm Hash digest
SHA256 4b7a0c0542e7849bccd9341691969ac26eb8623e34d46311f2885739684b44ba
MD5 57117b1cd29f4e6f48f7e1a14af8897a
BLAKE2b-256 a1a3bf0379cc1295d260ca0456613069da508fbb182957e21be64aa16de5d419

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tlds-2018072400-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1fd8a497b960ad5a8a94b308ac934c4d1f2edd792f59acc9c5450ccf75233851
MD5 7bf19d56343b152a823829b85c18ded5
BLAKE2b-256 fb666144df8dc1e0303e223320af2d7310d1e728da61d9de9512d01f29285318

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