[ad_1]
Completely happy New 12 months 2024! As the primary publish within the new 12 months, similar to what I did earlier than, I’m very interested by what have been the most well-liked Python tasks thus far. GitHub is unquestionably essentially the most appropriate place to have these statistics. Though not all of the open-sourced tasks will likely be maintained right here, there received’t be every other single locations which are higher than right here.
This rank is supposed to be straightforward as a result of I’ll share my code. Now, let’s take a look at how we are able to get the ranked record from GitHub API with just a few traces of code. After that, I’ll categorize these tasks utilizing my terminology after which add some quick introductions to them.
The Prime 30 GitHub tasks are categorized as follows:
- 2 repositories: Machine Studying Frameworks
- 3 repositories: AI-driven Functions
- 8 repositories: Software program Improvement Frameworks
- 2 repositories: Improvement Productiveness Instruments
- 3 repositories: Helpful Data Catalog
- 8 repositories: Educative Content material
- 4 repositories: Actual-World Functions
The official API documentation could be discovered on this web page:
https://docs.github.com/en/relaxation/reference/search#search-repositories
So, I received’t repeat the main points of the API Endpoint such because the parameters on this article. If you’re considering what else we are able to do with the GitHub API, please discuss with that web page.
Essentially the most lovely factor is that we don’t have to register or apply for an API key to make use of this endpoint. In fact, it has a charge restrict which is as much as 10 requests per minute, however it isn’t an issue for us as we simply need to get a number of top-ranked repos. Just a few occasions of API calls will likely be sufficient for us to debug.
To start with, we have to use the requests
module of Python. It’s built-in and I imagine most of you need to be aware of…
[ad_2]