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

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: tlds-2018102300.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.3

File hashes

Hashes for tlds-2018102300.tar.gz
Algorithm Hash digest
SHA256 3e1ac144f19506f7ffaa3d276347d35ac1be286c6a4c7a99df1863f88741353b
MD5 af143feae3c07509dfa2e3f8ddf2f88b
BLAKE2b-256 778963f0134879263fee38bc52b8798a75a85d3f9408b933f49d0bd3de26b3e2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tlds-2018102300-py2.py3-none-any.whl
  • Upload date:
  • Size: 8.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.3

File hashes

Hashes for tlds-2018102300-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 33908748bff335c2a97b11f9f576a3da755062c349664a13b45166919c87ba6c
MD5 8931546ce4e6308b564704f29b3f93a4
BLAKE2b-256 951d326d92c0f08a6e271fc760f1c009f7914537b10cd50972a0395e30bef1df

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