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

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for tlds-2018050500.tar.gz
Algorithm Hash digest
SHA256 2ce519a94b885dc08f279b0c309c0eaa33be5d2e17643902cc60ef9034417444
MD5 6940eca6a241f53ca878db465db35973
BLAKE2b-256 df831cf810f605fa38241199adab77dcd5ef897024160319b2e33e933c1d7935

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tlds-2018050500-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d2d2c805c59c8bd1967b7c97d780ef43cfe4e534560bc24f64d284f71920af8f
MD5 4be9689a5409824ed03f9af00cce40f4
BLAKE2b-256 895612b22c7f5b080e4177e50b3b49c7b780a07cad53c8bc488a966b7a926fb6

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