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.

Build status PyPI PyPI - Downloads

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-2024030600.tar.gz (7.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-2024030600-py2.py3-none-any.whl (8.0 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: tlds-2024030600.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for tlds-2024030600.tar.gz
Algorithm Hash digest
SHA256 e39e7c8e931a2e90710594622e4737ed336e0da335fbc7aca015b200b6279cb1
MD5 108a2555984ee0c6e3b9e93ae1d0481f
BLAKE2b-256 a6151162df33dd1f49e7d8aa11a8135f9afa73c9a211fa31e8736050e27324eb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tlds-2024030600-py2.py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for tlds-2024030600-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e4eafaad17a8eb19064d46eda0ca8abc366cf67ba01c71861a7dbfc7003c0708
MD5 533fdc839eda4b7e80e62b03888a8596
BLAKE2b-256 27bde45c77f8410655f6cef462447bf5f03fd06de2a973d1fdf93fdeca276c9a

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