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

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for tlds-2018040701.tar.gz
Algorithm Hash digest
SHA256 475b8d96253ec601f8a6e37366b6d83b7e03203312d7d53a7e7ff8f7b9316450
MD5 ebf0b6f50069954a52dee842e2af6f8c
BLAKE2b-256 491afdf630382746234feed332f865829ef9eaf051a9f1e0ef8e75397c583f2c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tlds-2018040701-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 66364ae46942afcca9ae4064866948c1b91040437f34dbe588f93993bfe039a9
MD5 87e487a39a9242f9ff91c4f010fc9400
BLAKE2b-256 6a5ae0907596f4bda1eaee4f16cb18171c0a15ad5f70320016ff2029ea7f3092

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