Skip to main content

urld

URL descomposer to extract parts of url. It accepts urls by stdin and displays the parts in stdout.

Installation

From pypi:

pip install urld

Usage

By default, it splits the urls in their different parts:

$ echo "https://www.gitlab.com/Zer1t0?test=a#hey" | urld
https www.gitlab.com /Zer1t0 test=a hey

But can also specify the parts you would like to retrieve:

$ echo "https://www.gitlab.com/index.html" | urld -f host
www.gitlab.com

$ echo "https://www.gitlab.com/index.html" | urld -f protocol path
https /index.html

$ echo "https://www.gitlab.com/index.html" | urld -f extension
.html


$ echo "https://www.gitlab.com/?foo=bar" | urld -p foo
bar

Release files for urld 0.1.2

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

Source distribution (sdist)

Source distribution for urld 0.1.2
File Size Uploaded
urld-0.1.2.tar.gz 15.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for urld 0.1.2
File Interpreter ABI Platform
urld-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 31.9 kB

Release files / urld-0.1.2.tar.gz

Download URL urld-0.1.2.tar.gz
Size 15.7 kB
Tags Source
SHA-256 checksum
How to use checksums
175cc873458cc4a77c502a2aff6cd5bf0bb1c48510f9cc7279da3771e1bcfadd
BLAKE2b-256 checksum
How to use checksums
7924055c56f0a207fc0684f75f7d9ffa536fd14ba5d109a8ec3605054651b57e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Release files / urld-0.1.2-py3-none-any.whl

Download URL urld-0.1.2-py3-none-any.whl
Size 16.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
10b3929448034d0ccc68d14cc83da1c26e312cc0fa9d9edbae2089d3bcb56068
BLAKE2b-256 checksum
How to use checksums
248c142d686a738128645779132df4e629a10a6341c5d133d3bb5a8bcb09fb14
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

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