linkcheck
Main package for link checking.
Functions
|
Get a link pattern matcher for intern/extern links. |
Initialize i18n with the configured locale dir. |
|
Return absolute directory of system executable. |
Exceptions
Exception to be raised on linkchecker-specific check errors. |
|
Used for testing. |
- exception linkcheck.LinkCheckerError[source]
Bases:
Exception
Exception to be raised on linkchecker-specific check errors.
- linkcheck.get_link_pat(arg, strict=False)[source]
Get a link pattern matcher for intern/extern links. Returns a compiled pattern and a negate and strict option.
- Parameters:
arg (string) – pattern from config
strict (bool) – if pattern is to be handled strict
- Returns:
dictionary with keys ‘pattern’, ‘negate’ and ‘strict’
- Return type:
dict
- Raises:
re.error on invalid regular expressions
- linkcheck.init_i18n()[source]
Initialize i18n with the configured locale dir. The environment variable LOCPATH can also specify a locale dir.
- Returns:
None
Modules
ANSI Color definitions and functions. |
|
Store and provide cached data during checking in a thread-safe manner. |
|
Main functions for link checking. |
|
Utility functions suitable for command line clients. |
|
Store metadata and options. |
|
Special container classes. |
|
Parsing of cookies. |
|
Simple decorators (usable in Python >= 2.4). |
|
Management of checking a queue of links with several threads. |
|
Dummy objects. |
|
File and path utilities. |
|
Python implementation of a part of Dan Bernstein's ftpparse library. |
|
HTML utils |
|
Application internationalization support. |
|
Functions used by the WSGI script. |
|
Functions to load plugin modules. |
|
Locking utility class. |
|
Logging and debug functions. |
|
Logging configuration |
|
Output logging support for different formats. |
|
Memory utilities. |
|
File and path utilities. |
|
Main functions for link parsing |
|
Module for plugin management. |
|
Robots.txt parser. |
|
Various string utility functions. |
|
Support for managing threads. |
|
Functions for parsing and matching URL strings. |