🔍 GitHub Repository Inspector
A Python script that connects to your GitHub account using a personal access token (PAT), verifies authentication, and inspects the structure and contents of a specified repository.
📦 Features
- Authenticates with GitHub via a personal access token (PAT)
- Verifies that the token matches the expected user
- Lists all repositories accessible to the user
- Inspects the contents of specific directories or files in a given repository
🚀 Requirements
- Python 3.7+
- PyGithub
Install dependencies with:
pip install -r requirements.txt
You also need to create a personal token with this link : https://github.com/settings/tokens (Generate a classic one)