Skip to main content

Automatically updated list of valid TLDs taken directly from IANA

Project description

The tlds module provides a a set of valid TLDs directly taken from IANA. The package is automatically updated daily.

Available on PyPI.

https://github.com/kichik/tlds/workflows/tlds%20build/badge.svg 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
>>>

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tlds-2022062300.tar.gz (1.8 kB view details)

Uploaded Source

Built Distribution

tlds-2022062300-py2.py3-none-any.whl (8.2 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: tlds-2022062300.tar.gz
  • Upload date:
  • Size: 1.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for tlds-2022062300.tar.gz
Algorithm Hash digest
SHA256 96a692fbbf393e1b8653bcdc7e36c73d48fd918f1529d31c11a6625800d763e8
MD5 1b6b90684b46876af3a60bdc5fb682f6
BLAKE2b-256 250d28d418d00c476251d76f3354df46443314ccb211ecf3208087f5f28a63d4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tlds-2022062300-py2.py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for tlds-2022062300-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4cd3ee03c22a1e021e715c463fda2dbe55607735472cdf84da0045209b02fe00
MD5 7e2f5eff580408b0c36ef71d98807499
BLAKE2b-256 40243ac6d78f7af4a47344b6872a2e58aeca37205fa51d36874e7c9c38f4e4d8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page