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

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for tlds-2018052401.tar.gz
Algorithm Hash digest
SHA256 1f0e0e7a1535ff14aa8a6cda50aaa2cfb0d682954ff6d0ef4d0b349b1f97908a
MD5 ac87288b23f84bc56b98d8c35194005a
BLAKE2b-256 5b157fa47e693530950615b1f93fef7e3b28f878aadc608e9b2caf736ef9eb27

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tlds-2018052401-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4728cac27036ec228360da3d46cb1fa75872c0cf8f793668b8bce73bb3729241
MD5 592f8a906558589a3415758fef661666
BLAKE2b-256 fecfed6c3d98686dc075c441ce2ffa439140c8ff2ec0f64a108400301e00ab7d

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