How to find top 10 hot python projects on github

import requests

def get_data():
    base_url = 'https://api.github.com/search/repositories?q=language:python+created:%3E2019-12-31&sort=stars&order=desc&per_page=10'
    response = requests.get(base_url)
    result = response.json()
    data = {}
    for item in result['items']:
        #data[item['name']] = [item['html_url'], item['stargazers_count'], item['watchers_count'], item['forks']]
        data[item['name']] = [item['html_url']]
    return data
print(get_data())
PS C:\Users\zhuby> & python c:/Hans/hot_python_githuh.py
{'Depix': ['https://github.com/beurtschipper/Depix'], 'diagrams': ['https://github.com/mingrammer/diagrams'], 'EasyOCR': ['https://github.com/JaidedAI/EasyOCR'], 'avatarify': ['https://github.com/alievk/avatarify'], 'GHunt': 
['https://github.com/mxrch/GHunt'], 'PaddleOCR': ['https://github.com/PaddlePaddle/PaddleOCR'], 'eat_tensorflow2_in_30_days': ['https://github.com/lyhue1991/eat_tensorflow2_in_30_days'], 'yolov5': ['https://github.com/ultralytics/yolov5'], 'Bringing-Old-Photos-Back-to-Life': ['https://github.com/microsoft/Bringing-Old-Photos-Back-to-Life'], 'practical-python': ['https://github.com/dabeaz-course/practical-python']}

7 Replies to “How to find top 10 hot python projects on github”

  1. I have been exploring for a bit for any high quality articles or blog posts in this kind
    of area . Exploring in Yahoo I finally stumbled upon this web site.

    Studying this information So i am satisfied to express that I’ve a very just
    right uncanny feeling I discovered just what I needed.
    I most unquestionably will make sure to don’t disregard this site and provides it a look regularly.

    Also visit my website … Compoise 360X CBD

  2. That is the suitable blog for anybody who needs to seek out out about this topic. You notice so much its virtually exhausting to argue with you (not that I really would want匟aHa). You definitely put a brand new spin on a topic thats been written about for years. Great stuff, just great!

Leave a Reply

Your email address will not be published. Required fields are marked *