Library for extracting domains.
Project description
Domainize
Library for extracting domains.
Usage
Domainize does its best to find what we'd typically consider the real domain
of a website. This includes removing subdomains while preserving pseudo-TLD
such as co.uk
.
import domainize
domainize.get_domain("https://github.com/camber-ops/pipper-domainize")
# github.com
domainize.get_domain("blog.camber.io/foobar")
# camber.io
domainize.get_domain("google.co.uk")
# google.co.uk
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
domainize-1.2.0.tar.gz
(88.3 kB
view details)
Built Distribution
domainize-1.2.0-py3-none-any.whl
(87.9 kB
view details)
File details
Details for the file domainize-1.2.0.tar.gz
.
File metadata
- Download URL: domainize-1.2.0.tar.gz
- Upload date:
- Size: 88.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.9.19 Linux/5.4.109+
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33ab10cc34ff984a7f989f8ea93c4cfa70d00c276ac9beae5cc8d7a8fa6b9dd5 |
|
MD5 | c1cd3ca5deb834bf03c455775b819b51 |
|
BLAKE2b-256 | 6bf825d98aa9938af4a10d10ed3a2ce4983f439acaf5b34ef03ceeab23d61b66 |
File details
Details for the file domainize-1.2.0-py3-none-any.whl
.
File metadata
- Download URL: domainize-1.2.0-py3-none-any.whl
- Upload date:
- Size: 87.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.9.19 Linux/5.4.109+
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1cb8ff0ac208670d166bb4f0ca3709f1fabdfb87b49ba920467de15689a2ab93 |
|
MD5 | 278bcf4bc9638cec58d75789a47cf3a6 |
|
BLAKE2b-256 | 4827daf5d2f93f79e354d776bd45068f4cc3a430e7575014074303873a147588 |