Skip to main content

Basic link checker

Project description

🌎 blinkcheck - a basic link checker

Latest Release PyPI Version MIT License

Check for dead links in all files, with support for regex URL extraction and glob file patterns.

Installation

pip install blinkcheck

Usage Examples

Check for dead links in all files, starting in the current directory.

blinkcheck

Check for dead links in all Markdown *.md files of a specific ./docs folder.

blinkcheck --root ./docs -i *.md

Check for dead links in LaTeX *.tex files in the current directory with regex \\url{(.*?)}.
If a regex contains one group constructs, the group is used as the link.

blinkcheck -i *.tex -r "\\url{(.*?)}"

Only list failed links and do not verify SSL certificates.

blinkcheck --skip-ssl --only-fails

Available Arguments

Argument Default Value Description
--root . (current directory) Directory in which we recursively check matching files.
-i --include *.* (all files) A glob pattern that files have to match.
-r --regex see here Regex to extract URLs with group syntax support.
--skip-ssl Do not verify the SSL certificate when performing requests.
--only-fails Only output failed requests.

Development

Install Poetry and setup your environment.

poetry install
poetry shell

Run tests with pytest.

poetry run pytest

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

blinkcheck-0.1.1.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

blinkcheck-0.1.1-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file blinkcheck-0.1.1.tar.gz.

File metadata

  • Download URL: blinkcheck-0.1.1.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.8 CPython/3.8.11 Linux/5.8.0-1039-azure

File hashes

Hashes for blinkcheck-0.1.1.tar.gz
Algorithm Hash digest
SHA256 d7bd7436ceaa89180dec18c939e6f41d608724970a6074a11d9888e3548e57c8
MD5 d74584464a9c6bd23e144599d4c4b717
BLAKE2b-256 e492d1d2ba9369711c8b589eaaa6285ed098de228091b8d17449654cb7c9c638

See more details on using hashes here.

File details

Details for the file blinkcheck-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: blinkcheck-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.8 CPython/3.8.11 Linux/5.8.0-1039-azure

File hashes

Hashes for blinkcheck-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f5fae1de475efe2e424229d86350578640879bd221185afd8beca13bb9338af2
MD5 b8832cff74392b754f30a94a0dc182a0
BLAKE2b-256 6dd00b4ed1c3fbf390976f2cae15d7d1fc607c63fe7da3dd975252d5628ab1c6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page