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

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: tlds-2021113000.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for tlds-2021113000.tar.gz
Algorithm Hash digest
SHA256 dc0956f464a9a78fc6176e23c180ef82ab46e1210069369749182c3d1cf1b4d2
MD5 a1eff007e9728b262b29644ddcc8f78e
BLAKE2b-256 e57e25add17cbb8d33785eee00e1310e2f7ffaeb20a5cb072063ec42a0a158d3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tlds-2021113000-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.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for tlds-2021113000-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f6a5b8b7a4c6f0973a623582d11d01c0f871b0a0ab902de7f47bfebc342c11ba
MD5 924d4a73fc7361bf4d506156c7749283
BLAKE2b-256 536f56e3434349370a12f3ce8d525cb980931e807903d3b9d19435d310f00a76

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