Skip to main content

This is a simple command line tool for extracting pieces (such as the scheme, port, or hostname) of a standard URL.

Usage

$ urlparser hostname http://google.com
google.com
$ urlparser hostname google.com
google.com
$ urlparser port http://google.com
80
$ urlparser port https://google.com
443
$ urlparser port https://example.com:9443
9443
$ urlparser scheme https://google.com
https

Help

Usage: urlparser [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  fragment  Get fragment from URL
  hostname  Get hostname from URL
  netloc    Get netloc from URL
  params    Get params from URL
  password  Get password from URL
  path      Get path from URL
  port      Get port from URL
  query     Get query from URL
  scheme    Get scheme from URL
  username  Get username from URL

Release files for urlparser 0.1.2

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

Built distribution (wheel)

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

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

Download URL urlparser-0.1.2-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3e8e29d18d45fbaa25b8c9e1287516f36fca1797fc6fb426bca3e34a99b26463
BLAKE2b-256 checksum
How to use checksums
74eb25268c32d6f67c452e68cc0cbbb009bba869800807c2e55e6f24f1fefe66
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.5

Release history Release notifications | RSS feed

This release

0.1.2 This release

1 release file

0.1.1

1 release file

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