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-2021042400.tar.gz (1.8 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: tlds-2021042400.tar.gz
  • Upload date:
  • Size: 1.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for tlds-2021042400.tar.gz
Algorithm Hash digest
SHA256 dae374d1d0dfd9a3ef28769778d9815e71eee42ea6e4645e548cace76966085d
MD5 7b2511d79c67c2848f5e7daf11c21546
BLAKE2b-256 9887981e280426cc55dedcd5d1b986677014815e7e7c2a37d670ac3448eab9b2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tlds-2021042400-py2.py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for tlds-2021042400-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 04c78637909078df561e598dd893d6fd9ae5b45eaf1992c7cfe2a4fb0d10d5ef
MD5 8a69df790ee73a7ad262e45c0e5f7e7f
BLAKE2b-256 c98fc1bd2495b7e9bc325bf3aefd79674d99c11b3be287ba4810185990558d53

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