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

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for tlds-2018041800.tar.gz
Algorithm Hash digest
SHA256 a18ff0059b85aaf934586d8734fcfe9d22440c99421f50520b3f72f76d484f74
MD5 9366a3918bb22762d0570117c25e40af
BLAKE2b-256 ba9ff621c5f7c3f4a37599cdf41cae84b6694c9b735cd90a15c5fd4205c66985

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tlds-2018041800-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 fba39741f3262621b4c89c4568befd1b0ec373b93a9cd446f9ea5687ba83a73f
MD5 a879930514f4e7e38c8e58bb38fea4ef
BLAKE2b-256 d0a406e2b4aed2a400f0c301fbfbfa948e847f70b5af3749415bf85b398787e9

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