PYURLCHECK
Project is currently a WIP.
pyurlcheck can be used to scan through all of a projects documents and validate any public facing URLs are still reachable.
Why??
It's apparent when navigating code documentation online that keeping up with URLs in documentation isn't always done properly. Running into constant 404 Not Found errors is frustrating for users that are trying to learn how to use a product or tool.
Examples
Running the tool against a single file.
▶ python cli.py examples/example1.md
examples/example1.md:8 URL Issue: https://www.ansible.com/jeff
Running the tool against a directory. All files in the directory will be executed.
▶ python cli.py examples/
examples/example2.md:6 URL Issue: https://www.ansible.com/jeff
examples/example1.md:8 URL Issue: https://www.ansible.com/fake
Alternatively,
you can replace python cli.py with pyurlcheck on the command line.
▶ pyurlcheck pyurlcheck/examples/
pyurlcheck/examples/example3.txt:4 URL Issue: https://www.ansible.com/jeff
pyurlcheck/examples/example2.md:7 URL Issue: https://www.ansible.com/jeff
pyurlcheck/examples/example3.md:3 URL Issue: https://www.ansible.com/jeff
pyurlcheck/examples/example4.rst:22 URL Issue: http://google.com/france
pyurlcheck/examples/example4.rst:23 URL Issue: http://google.com/japan
pyurlcheck/examples/example1.md:9 URL Issue: https://www.ansible.com/jeff
File extensions are currently not checked; therefore all files in a directory that is passed in will be validated.
Installation
pip install pyurlcheck
Metadata
Release files for pyurlcheck 0.1.2
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 |
|---|---|---|---|---|
| pyurlcheck-0.1.2.tar.gz | 5.6 kB | Without provenance | Details for pyurlcheck-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyurlcheck-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for pyurlcheck-0.1.2-py3-none-any.whl |
Total release size: 11.8 kB
Release files / pyurlcheck-0.1.2.tar.gz
| Download URL | pyurlcheck-0.1.2.tar.gz |
|---|---|
| Size | 5.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3d27f298381f4e6187a0b9a2f7fa77ba03d58939a5b9c69ec17f2fdf94d78a81
|
|
BLAKE2b-256 checksum How to use checksums |
9e3ffe1cdc7a8584f8be4b272f165a518a28255e72f8f3235780ebc352d2247a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.6 CPython/3.9.5 Linux/5.13.0-7620-generic
|
Release files / pyurlcheck-0.1.2-py3-none-any.whl
| Download URL | pyurlcheck-0.1.2-py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a9f4994dad17779f9a1bbde40a4fbbe81d066b295bd702ddbe034937c1cc7740
|
|
BLAKE2b-256 checksum How to use checksums |
bc20b8d51a33736c8ab910effd166940156cbcfb0fb9c51a070d358cc898b445
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.6 CPython/3.9.5 Linux/5.13.0-7620-generic
|
Security for pyurlcheck 0.1.2
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.