A small example package
Project description
Get-Url-Status (GUS) Text-As-Visual-Output (TAVO)
GUS is a command line tool that searches a file for all HTTP URLs and generates a report of their status.
Usage
$ python gus [-f FILENAME]
| Optional command line arguments | Description |
|---|---|
| -f FILENAME, --file FILENAME | location of source file to be checked |
| -t, --telescope | check recent posts indexed by Telescope |
| -a, --all | output includes all results (this is default) |
| -g, --good | output includes only [GOOD] results |
| -b, --bad | output includes only [FAIL] results |
| -r, --rtf | output as colourized rich text file |
| -j, --json | output as JSON |
| -h, --help | show information on how to use the tool and exit |
| -v, --version | show program's version number and exit |
| -i FILENAME, --ignore FILENAME | location of file with list of domains to ignore |
Results
GUS makes an HTTP connection for each URL in the source file.
The header is requested and the response code determines which label will be applied:
- [GOOD] = 2xx series
- [FAIL] = 4xx series
- [UNKN] = all other code series
GUS can generate output.rft as a list of results colourized as follows:
- [GOOD] = green
- [FAIL] = red
- [UNKN] = grey
Setup
For information on system requirements and how to contribute, check out CONTRIBUTING.md
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 gustavo-1.0.7.tar.gz.
File metadata
- Download URL: gustavo-1.0.7.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6be8d53c1dc7bb1193a628bc5fa23d3d5aa7beea66521651086401145b195d45
|
|
| MD5 |
30f31fcc9032eab0a19b86aba0de25bf
|
|
| BLAKE2b-256 |
acf37852c629979e607d16a49cabe5c08a1de3c30235d8fb66ba1f9f6c618c05
|
File details
Details for the file gustavo-1.0.7-py3-none-any.whl.
File metadata
- Download URL: gustavo-1.0.7-py3-none-any.whl
- Upload date:
- Size: 18.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
121216302438c260d5cf99f1f5cbbc43f4e79bade7edd93e216f0e5e4de98222
|
|
| MD5 |
9f4cf3bc782ee08d1e0ba28109710526
|
|
| BLAKE2b-256 |
598e52fc163746a1deef93a10a82448dcd2d703006f3ad58a1805e2a7fe78ebe
|