Skip to main content

Check and fix URLs in files

Project description

deadlink

PyPi Version PyPI pyversions GitHub stars Downloads

Parses text files for HTTP URLs and checks if they are still valid. Install with

pip install deadlink

and use as

deadlink check README.md   # or multiple files/directories
# or deadlink c README.md

You can configure deadlink via its config file ~/.config/deadlink/deadlink.toml, e.g.,

timeout_s = 10
cache_ttl_s = 259200
num_concurrent_requests = 5
# allow_file_extensions = ["txt", "yaml", "c"]
ignore_hosts = ["www.example.com"]

Example output:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

deadlink-0.6.4-py3-none-win_amd64.whl (1.9 MB view details)

Uploaded Python 3Windows x86-64

deadlink-0.6.4-py3-none-win32.whl (1.6 MB view details)

Uploaded Python 3Windows x86

deadlink-0.6.4-py3-none-musllinux_1_2_x86_64.whl (2.4 MB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

deadlink-0.6.4-py3-none-musllinux_1_2_i686.whl (1.9 MB view details)

Uploaded Python 3musllinux: musl 1.2+ i686

deadlink-0.6.4-py3-none-musllinux_1_2_armv7l.whl (1.7 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARMv7l

deadlink-0.6.4-py3-none-musllinux_1_2_aarch64.whl (2.2 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

deadlink-0.6.4-py3-none-manylinux_2_28_aarch64.whl (2.1 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ ARM64

deadlink-0.6.4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.3 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

deadlink-0.6.4-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl (1.8 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ s390x

deadlink-0.6.4-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (1.9 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ppc64le

deadlink-0.6.4-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl (2.0 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ i686

deadlink-0.6.4-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (1.7 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARMv7l

deadlink-0.6.4-py3-none-macosx_11_0_arm64.whl (2.0 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

deadlink-0.6.4-py3-none-macosx_10_12_x86_64.whl (2.1 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

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