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

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for tlds-2018051600.tar.gz
Algorithm Hash digest
SHA256 fb2110c2f8fc030859b2cbf4517fdf9cf52b67e0f41e27a7a1c267439b1f7353
MD5 859d94cddb6a20af73c23a98541d2a7b
BLAKE2b-256 ea737f4231892173665e3eaf29f800929c263cab64afc50f42a0139f5f2f9648

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tlds-2018051600-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2d6ee486f89eec3959c36ff4b486bada74a41273a4f49235a5408851da619c65
MD5 cc81b3ef476e5dce2dc47848dc9ae574
BLAKE2b-256 23f7ae4f71bb05c43eff28b48189b71c1a1f2507057d86ba369c0464f1eaedff

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