LinkStatus
Check link status
This is simple link status checker for text/markdown files.
Install
-
pip
pip install linkstatus --user
-
source
pip install . --user
Usage:
❯❯❯ linkstatus --help
Usage: linkstatus [OPTIONS] [SOURCE]...
Check Link Status
Options:
-r, --recursive Include all files from directories recursively
-t, --timeout INTEGER Request timeout (default 4 second)
-rt, --retry INTEGER Retry link status (default 2 time)
--help Show this message and exit.
❯❯❯ linkstatus tests/data/markdown_file.md
Links in File: 'tests/data/markdown_file.md'
✓ L4 : https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet
✓ L8 : http://www.google.com
✓ L10 : https://www.google.com
✓ L12 : https://github.com/pythonpune/linkstatus
✓ L24 : http://www.example.com
✗ L34 : https://github.com/pythonpune/linkcheck (404)
✓ L39 : https://github.com//pythonpune/
… L41 : http://<hostname>:<port> (skip)
… L43 : https://<hostname>:<port>/pages (skip)
=================================================================================================================
Links Status Summary
Links UP: 6
Links SKIP: 2
Links DOWN: 1
Warning: Use `noqa` inline comment to skip link check. like, response code 403 due to header restrictions etc...
=================================================================================================================
Note: Skip link check for any line by adding noqa (no quality assurance) as inline comment
. like <-- noqa --> for html and markdown, #noqa for python etc...
CONTRIBUTION GUIDELINES
If you would like to contribute please read the project contribution guidelines here.
CODE OF CONDUCT
For the community code of conduct please follow the following link.
Metadata
Release files for linkstatus 1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| linkstatus-1.0.tar.gz | 24.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| linkstatus-1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 42.1 kB
Release files / linkstatus-1.0.tar.gz
| Download URL | linkstatus-1.0.tar.gz |
|---|---|
| Size | 24.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b85b6588197148848afff90163d335cb9232edf4bcd03fd3eb022d1a28bdb271
|
|
BLAKE2b-256 checksum How to use checksums |
a3d33e369e78a8b399e1fc9ffed734a8a5c1ecf31d6f327d819374e92e154a1d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.5
|
Release files / linkstatus-1.0-py3-none-any.whl
| Download URL | linkstatus-1.0-py3-none-any.whl |
|---|---|
| Size | 17.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
26e366ddaf40a85781af7d8e8aab5b36489ad2f5088507ccba6319577b6f490d
|
|
BLAKE2b-256 checksum How to use checksums |
9e22e703140a982bb0732ea52c8bae5b5b994e452c2424a654c9c842724dc447
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.5
|