Skip to content

Instantly share code, notes, and snippets.

@sr-murthy
sr-murthy / hangman.py
Last active August 29, 2015 14:14
A Game of Hangman
# A game of Hangman
# 29/01/2015
'''
The MIT License (MIT)
Copyright (c) 2015 Sandeep Murthy
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@sr-murthy
sr-murthy / github_repo_contributors.py
Last active May 28, 2022 17:02
Viewing top contributors for public GitHub repositories
import json
import pandas as pd
import requests
def get_github_repo_top_contributors(org_user_name, repo_name, top_n=50):
"""
Gets the top n contributors data for the given GitHub repository - the
repository should be specified via an organisational or user name and