The PyPI_Relative_Path_Check is a Python script designed to help users to validate if the relative and absolute paths found on a PyPI project has issues. It fetches the specified PyPI relative and absolute paths and checks if they are valid.
The script requires the following dependencies:
- Python 3.x
- requests
- BeautifulSoup4
You can download the script using git
git clone https://github.com/KPCOFGS/PyPI_Relative_Path_Check.git
cd PyPI_Relative_Path_Check
You can install the dependencies using pip:
pip install -r requirements.txt
To use the script, you need to specify the URL of the PyPI webpage you want to check using the --link-url
parameter. For example:
python script.py --link-url PyPI_URL
This command will check the links found on the specified PyPI webpage and report back if there are relative paths having problems on the PyPI project
- The script only checks the relative and absolute paths found within the provided PyPI webpage and excludes other links such as
mailto:
links. - Due to the nature of web content, links may change or become unavailable over time. Therefore, the script provides a snapshot of link validity at the time of execution.
This repository is licensed under the Unlicense