/Github-profile-viewer

Desktop application to view data of any Github profile from their github username using the Github REST API. It features information in visualizations with Matplotlib.

Primary LanguagePythonMIT LicenseMIT

Github-profile-viewer forthebadge made-with-python

Desktop application to view profile data of Github users from their github username using the Github REST API.

screenshot_my_profile

Tech Stack💻

  • Python
  • Tkinter
  • Matplotlib
  • REST API

API used💻

  • GitHub REST API
  • Endpoints:
    • /users/{username} (for user profile information)
    • /users/{username}/repos (for repository list)
    • /users/{username}/followers (for followers list)
    • /users/{username}/following (for following list)

Features ✨

  • Search github profiles 🔍
  • Displays publicly available data in github profile such as,
    • Profile picture
    • Name
    • GitHub url
    • Bio
    • Email ID
    • Company
    • Location
    • Number of followers
    • Number of followings
    • Twitter profile name
    • Total number of repositories
    • Date of account creation in GitHub
    • Last date of GitHub account modified
  • Display names of all repositories in the GitHub account.
  • Opens the webpage of the repository in your default web browser by double clicking on the repository name.
  • Displays the top 5 starred repositories in the Github account.
  • Display all the followers and followings list.
  • Graphical visualizations of GitHub profile repository 📊
    • Repository creation count over the years (Bar chart).
    • Programming language usage distribution (Pie chart).
    • Star count for top 5 repositories (bar chart).
    • Top committed repositories with commit count (pie chart).
  • Error handling done to handle invalid github profiles, API rate limit exceeded.

Screenshots💻

screenshot_google

Installation🔌

  1. Clone the repository
  2. Navigate to the project directory
  3. Install the dependencies

Run⚙️

Before running the application,

  1. Obtain a GitHub personal access token.
  2. Insert your personal access token into github_profile_viewer.py file. Replace with your GitHub personal access token key = "YOUR_GITHUB_TOKEN'
  3. Run the github_profile_viewer.py file.

License 📖

MIT license