No project description provided
Project description
# urlparser
This is a simple command line tool for extracting pieces (such as the scheme, port, or hostname) of a standard URL.
## Usage
```bash
$ urlparser hostname http://google.com
> google.com
$ urlparser port http://google.com
> 80
$ urlparser port https://google.com
> 443
$ 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
```
This is a simple command line tool for extracting pieces (such as the scheme, port, or hostname) of a standard URL.
## Usage
```bash
$ urlparser hostname http://google.com
> google.com
$ urlparser port http://google.com
> 80
$ urlparser port https://google.com
> 443
$ 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
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file urlparser-0.1.1-py3-none-any.whl.
File metadata
- Download URL: urlparser-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2065850119797c104befa84ddde20fd96b97ed9dd8f8f28f100d3da48af90330
|
|
| MD5 |
8a4b461e0f084be3c68dc275d7716cd7
|
|
| BLAKE2b-256 |
a832a31eb4a7dd95f4a4ecd8c074293cfe6a1f25c4130e14cbd29bc9542842cf
|