Skip to main content

rms-link-checker

GitHub release; latest by date GitHub Release Date Test Status Documentation Status Code coverage
PyPI - Version PyPI - Format PyPI - Downloads PyPI - Python Version
GitHub commits since latest release GitHub commit activity GitHub last commit
Number of GitHub open issues Number of GitHub closed issues Number of GitHub open pull requests Number of GitHub closed pull requests
GitHub License Number of GitHub stars GitHub forks

rms-link-checker is a Python command-line application that crawls a website starting from a given root URL, checks all discovered links for validity, detects misplaced asset files, and produces a plain-text report summarizing the results.

Full documentation is available at rms-link-checker.readthedocs.io.

Features

  • Crawls an entire website starting from a single root URL
  • Checks all discovered links (internal and external) for validity
  • Detects broken links (4xx/5xx responses) and broken anchor fragments
  • Follows and reports redirect chains
  • Detects misplaced asset files (images, documents, scripts, etc.)
  • Configurable depth limit, request limit, and thread count
  • YAML configuration file support with CLI override precedence
  • Non-HTTP scheme links (mailto:, tel:, etc.) recorded and reported
  • SSL certificate errors reported per domain
  • Plain-text report with 11 sections

Installation

pipx install rms-link-checker

Developer

git clone https://github.com/SETI/rms-link-checker.git
cd rms-link-checker
python3 -m venv venv
source venv/bin/activate
pip install -e ".[dev]"

Quick Start

link_check https://example.com

With options:

link_check https://example.com --max-depth 3 --max-threads 20 -o report.txt

With a configuration file:

link_check --config-file config.yaml

Contributing

Information on contributing to this package can be found in the Contributing Guide.

Licensing

This code is licensed under the Apache License v2.0.

Metadata

Release files for rms-link-checker 2.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rms-link-checker 2.1.0
File Size Uploaded Provenance Actions
rms_link_checker-2.1.0.tar.gz 127.7 kB Without provenance Details for rms_link_checker-2.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rms-link-checker 2.1.0
File Interpreter ABI Platform Actions
rms_link_checker-2.1.0-py3-none-any.whl Python 3 none any Details for rms_link_checker-2.1.0-py3-none-any.whl

Total release size: 165.8 kB

Security for rms-link-checker 2.1.0

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page