Library of web-related functions for HTML manipulation, HTTP processing, URL handling, and encoding detection
84
Smart URI/path conversion
Uses path_to_file_uri
100%
0%
Uses file_uri_to_path
100%
0%
Uses any_to_uri
100%
0%
Proper error handling
100%
100%
URL normalization and safety (safe_url_string)
Uses safe_url_string
62%
100%
Proper error handling
100%
100%
Handles special characters
100%
100%
Supports IDNA
100%
100%
Handles encoding normalization
100%
100%
Advanced query parameter filtering
Uses url_query_cleaner
100%
100%
Blacklist implementation
100%
100%
Whitelist implementation
100%
100%
Duplicate removal
0%
100%
Fragment handling
0%
100%
Proper imports
100%
100%
HTML entity replacement
Uses replace_entities
100%
100%
Uses keep parameter
100%
100%
Uses remove_illegal parameter
100%
100%
Uses has_entities
100%
100%
Handles text encoding
100%
100%
HTTP Basic Authentication header generation
Uses basic_auth_header
100%
100%
Default encoding handling
100%
100%
UTF-8 encoding support
100%
100%
Header format structure
100%
100%
Credential passing
100%
100%
Meta refresh redirect parsing
Uses get_meta_refresh
100%
100%
Handles baseurl parameter
100%
100%
Processes return value
100%
100%
Returns correct format
100%
100%
Query parameter modification (add/replace multiple)
Import w3lib.url
100%
100%
Use add_or_replace_parameters
100%
100%
Pass dictionary parameter
100%
100%
Handle parameter addition
100%
100%
Handle parameter replacement
100%
100%
Handle empty query strings
100%
100%
Byte Order Mark (BOM) detection
Uses read_bom
100%
100%
Correct function integration
100%
100%
Proper return format
100%
100%
No custom BOM logic
100%
100%
Query parameter modification (add/replace single)
Uses add_or_replace_parameter
40%
0%
Correct parameter updates
100%
50%
Preserves URL structure
100%
100%
Correct function signature
100%
100%
URL canonicalization for deduplication
Uses canonicalize_url
100%
100%
Proper function import
66%
100%
Query parameter handling
100%
100%
Fragment handling
100%
100%
Encoding parameter usage
66%
0%
Install with Tessl CLI
npx tessl i tessl/pypi-w3lib