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://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
>>>

Download files

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

Source Distribution

tlds-2021112200.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-2021112200-py2.py3-none-any.whl (8.2 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: tlds-2021112200.tar.gz
  • Upload date:
  • Size: 1.8 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-2021112200.tar.gz
Algorithm Hash digest
SHA256 7f4e355e42dc019562175e15a2f59232d6d832d7f1a9b414adf2ae2eebc12fc9
MD5 5b055a7e2d8e97d9f351b9dd13113434
BLAKE2b-256 20440a2d41e1248f04349e29fc7dfa14600f5d7e4a4b24c762cfbdb5d1730c3b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tlds-2021112200-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-2021112200-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4e773f3163cc5fe0b2600f8236ee01e7566f1cd482e6f1add2b8910d3045fd5f
MD5 93077c96457898784a52fe7177b6de85
BLAKE2b-256 2e1a14d8a9903a7d2187879701af86063601a9432e32bb2b10b58325adcd73a2

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