A URL link checker CLI command for text files. Heavily inspired on awesome_bot
Installation
Installing pip version:
$ pip install vl
Usage
To use it:
Usage: vl [OPTIONS] DOC
Examples: simple call $ vl README.md
Adding debug outputs
$ vl README.md --debug
Adding a custom timeout for each url. time on seconds.
$ vl README.md -t 3
Adding a custom size param, to add more requests per time
$ vl README -s 1000
Skipping some error codes. This will allow 500 and 404 responses to be
ignored
$ vl README.md -a 500,404
Adding Whitelists
$ vl README.md -w server1.com,server2.com
Options:
--version Show the version and exit.
-t, --timeout FLOAT request timeout arg. Default is 2 seconds
-s, --size INTEGER Specifies the number of requests to make at a time.
default is 100
-d, --debug Prints out some debug information like execution
time and exception messages
-a, --allow-codes TEXT A comma splitted http response allowed codes
-w, --whitelist TEXT A comma splitted whitelist urls
--help Show this message and exit.
Do i need this lib?
I don’t know! Currently i am using to check for bad links on my magictools README file. I hope it can serve for many purposes in the future.
Roadmap
How can we make it faster?!
API
Metadata
Release files for vl 0.3.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| vl-0.3.4.tar.gz | 7.3 kB | Without provenance | Details for vl-0.3.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vl-0.3.4-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for vl-0.3.4-py2.py3-none-any.whl |
Total release size: 14.2 kB
Release files / vl-0.3.4.tar.gz
| Download URL | vl-0.3.4.tar.gz |
|---|---|
| Size | 7.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
75ad14f737eab6455848fb09b6126b45664cd1f24999b915c5d702b2bc002127
|
|
BLAKE2b-256 checksum How to use checksums |
393bba9cb115d317cdace139fa4e343d027f030a089b0dbe545882f233b9f686
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / vl-0.3.4-py2.py3-none-any.whl
| Download URL | vl-0.3.4-py2.py3-none-any.whl |
|---|---|
| Size | 6.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
e1e5135dd9464ed233cb001758471c227618a4b8831236acf4dbdce66be0150f
|
|
BLAKE2b-256 checksum How to use checksums |
3a559ef4f9a4dfd87023ae087926ebd6c629a1dddb043498721daa165aa0f3dc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for vl 0.3.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.