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

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: tlds-2019111200.tar.gz
  • Upload date:
  • Size: 1.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.6.7

File hashes

Hashes for tlds-2019111200.tar.gz
Algorithm Hash digest
SHA256 32b44a2f1cc7a37b62e35bfa36e6fbeb953b0daf068322428b0e175d2971ef24
MD5 2ed9551884906aa8ccb9a8bb4af34137
BLAKE2b-256 48d06f737277b1e00057e29015024f7cf0c775dc55dfefa186f943dfb078b291

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tlds-2019111200-py2.py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.6.7

File hashes

Hashes for tlds-2019111200-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d4debb07ca520c2fed58cb5be52ec51683ba28c1fb98039da62e5708414fffee
MD5 932c2b6c3f913234addb2addca102a54
BLAKE2b-256 82e9c586246b92864c7e9f7d38335f007ae61b93a6735dbaa1e3ff3f7b593546

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