Repositories with probably the most stars!
Completely happy Recent 12 months 2024! As the primary post in the brand new yr, identical to what I did before, I’m very interested by what were the preferred Python projects to this point. GitHub is certainly probably the most suitable place to have these statistics. Although not all of the open-sourced projects might be maintained here, there won’t be every other single places which are higher than here.
This rank is supposed to be easy because I’ll share my code. Now, let’s have a have a look at how we are able to get the ranked list from GitHub API with just a few lines of code. After that, I’ll categorize these projects using my terminology after which add some short introductions to them.
The Top 30 GitHub projects are categorized as follows:
- 2 repositories: Machine Learning Frameworks
- 3 repositories: AI-driven Applications
- 8 repositories: Software Development Frameworks
- 2 repositories: Development Productivity Tools
- 3 repositories: Useful Information Catalog
- 8 repositories: Educative Content
- 4 repositories: Real-World Applications
The official API documentation could be found on this page:
https://docs.github.com/en/rest/reference/search#search-repositories
So, I won’t repeat the main points of the API Endpoint equivalent to the parameters in this text. For those who are concerned about what else we are able to do with the GitHub API, please seek advice from that page.
Essentially the most beautiful thing is that we don’t have to register or apply for an API key to make use of this endpoint. After all, it has a rate limit which is as much as 10 requests per minute, nevertheless it will not be an issue for us as we just wish to get several top-ranked repos. Just a few times of API calls might be enough for us to debug.
Initially, we want to make use of the requests
module of Python. It’s built-in and I consider most of try to be acquainted with…