Skip to content

hiram-pl/github-api-visualization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Most-Starred Python Projects on GitHub

A Python script that uses the GitHub API to find and visualize the most-starred Python repositories.

What It Does

  • Queries the GitHub API for Python repositories with 10,000+ stars
  • Extracts repo name, owner, star count, and description
  • Creates an interactive bar chart visualization using Plotly

Files

File Description
python_repos.py Fetches and prints repo information to the console
python_repos_visual.py Fetches data and creates an interactive Plotly chart

Sample Output

Status code: 200
Total repositories: 4,500,000+
Repositories returned: 30

Name: public-apis
Owner: public-apis
Stars: 250000+
Description: A collective list of free APIs
...

Visualization

The script generates an interactive bar chart showing the most-starred Python repos, with hover text displaying the owner and description.

How to Run

  1. Install required packages:

    pip install requests plotly
  2. Run the console version:

    python python_repos.py
  3. Run the visualization:

    python python_repos_visual.py

Skills Demonstrated

  • Working with REST APIs
  • JSON parsing
  • Data visualization with Plotly
  • HTTP requests with the requests library

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages