Skip to main content

# DTLD Custom Top Level domain extractor

This is an example of a top level domain : wxyz.com or qbcd.net

How it works DTLD extracts the root domain. It works by extracting from http|https|www protocol URLS

Example Code:

from dtld.dtld import TopLevelDomain as tld

url = ‘http://github.com

App = tld.TopLevelDomain(url)

domain = App.get_top_level_domain()

print(domain)

>>github.com

How to install

UNIX

pip install dtld1.0

WINDOWS
PYTHON 2

py -m pip install dtld1.0

PYTHON 3

py -m pip install dtld1.0

Release files for dtld1.0 1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dtld1.0 1.0
File Size Uploaded
dtld1.0-1.0.zip 4.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dtld1.0 1.0
File Interpreter ABI Platform
dtld1.0-1.0.win32.exe Details

Total release size:199.7 kB

Release files / dtld1.0-1.0.zip

Download URL dtld1.0-1.0.zip
Size 4.7 kB
Tags Source
SHA-256 checksum
How to use checksums
b49b0f10ac3adf8122769573c441410c0063e0b200692ebdf1a2cdff64b8e4ac
BLAKE2b-256 checksum
How to use checksums
48693e6dbeced60b0c883e7c435d3197cdf190fa7457bc01b1c4ae2ced0fea92
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / dtld1.0-1.0.win32.exe

Download URL dtld1.0-1.0.win32.exe
Size 194.9 kB
Tags Source
SHA-256 checksum
How to use checksums
7a02ba4e4b73191feb0189cbd6fc6126fa489596364b5eb67e45f790e16d2182
BLAKE2b-256 checksum
How to use checksums
f47b0ffccb07f3054089bc446d683268be30b0d6398234db552d54a6f044c543
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page