Skip to main content

No project description provided

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
urlparser-0.1.2-py3-none-any.whl (3.8 kB) Copy SHA256 hash SHA256 Wheel py3

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page