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

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for tlds-2018050400.tar.gz
Algorithm Hash digest
SHA256 6bae2b1d25f0d43ef9e116e3a1f8ff0121b4d1cd91bc884855d52e12639d9e2c
MD5 6bc305dbbedb02ec9c0970ae5c31673a
BLAKE2b-256 66b2c8c12bb316cc3e5ca12800bcc72076b25a31abf4c41258bdd069d3853444

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tlds-2018050400-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 aaf6c753113009cc5411f2315b4a2379c62e52ecf7059591977c08263264c40a
MD5 4269867c7bf4cd87d79738027cf927db
BLAKE2b-256 1269e77810baebe783b70d78f12d7567bc90eb3576b364bcd7b65facaada1910

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