Links verification
Verify that all the external/absolute links within a web page work correctly.
Install
$ pip install links-verification
How to use
from links_verification import verify
my_verify = verify.Verify ("https://www.url_example.com")
# PRINT INFORMATION
# Print all links functional links, error links and the problem of the error links
my_verify.print_all_links()
# Print only the functional links
my_verify.print_functional_links()
# Print only the error links and their errors
my_verify.print_error_links()
# SAVE INFORMATION IN FILE
# External file absolute path
my_file = os.path.join (os.path.dirname(__file__), "ouput.txt")
# Save in external text file all links and the problem error links
my_verify.save_all_links(my_file)
# Save in external text file only the functional links
my_verify.save_functional_links (my_file)
# Save in external text file only the error links and their errors
my_verify.save_error_links (my_file)
# RETURN INFORMATION
# Return a dictionary with the keywords: "functional" and "erros", whitch contains the link list
links = my_verify.return_all_links()
# Retiurn only the functional links in a list
links = my_verify.return_functional_links()
# Return only the error links and their errors in a list
links = my_verify.return_error_links()
Metadata
Release files for links-verification 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| links_verification-1.0.1.tar.gz | 3.6 kB | Without provenance | Details for links_verification-1.0.1.tar.gz |
Release files / links_verification-1.0.1.tar.gz
| Download URL | links_verification-1.0.1.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
95ff5cd56edf0cda3feb92ac709acdf1632b3cae9375bfd09cdc8b7f7898c621
|
|
BLAKE2b-256 checksum How to use checksums |
2ddb35ff95e8071764d01c7ba55193eae3448ea332aaef84aad48f3ec2eda308
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.6.1 requests/2.24.0 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/2.7.16
|
Security for links-verification 1.0.1
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.