Skip to content
This repository has been archived by the owner on Jul 15, 2024. It is now read-only.

A Python script that validates PyPI relative and absolute paths

License

Notifications You must be signed in to change notification settings

KPCOFGS/PyPI_Relative_Path_Check

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PyPI_Relative_Path_Check

Overview

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.

Dependencies

The script requires the following dependencies:

  • Python 3.x
  • requests
  • BeautifulSoup4

Download

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

Usage

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

Note

  • 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.

License

This repository is licensed under the Unlicense

About

A Python script that validates PyPI relative and absolute paths

Topics

Resources

License

Stars

Watchers

Forks

Languages