【steal piano】GitHub偷情分析工具!

Overview

【steal piano】GitHub偷情分析工具!

你是否有这样的困扰,有一天你的仓库被很多人加了star,但是你却不知道这些人都是从哪来的?

别担心,GitHub偷情分析工具帮你轻松解决问题!

原理

GitHub偷情分析工具透过分析star的时间以及他们之间的follow关系,可以推测出每个star大概是被谁吸引过来的。

就是把所有仓库的star事件按时间排序,然后看看每个star的三天之内,那个人的follower有没有也来star。

样例

可以看到每个人直接加星的数量,以及每个人吸引来的间接加星的数量——

bobby285271 直接: 2 间接: 7
BeautyYuYanli 直接: 4 间接: 7
akemimadoka 直接: 1 间接: 7
cubercsl 直接: 1 间接: 7
LoRexxar 直接: 1 间接: 7
miaotony 直接: 1 间接: 7
solstice23 直接: 5 间接: 8
outloudvi 直接: 2 间接: 8
VergeDX 直接: 6 间接: 8
Naville 直接: 1 间接: 8
LaoshuBaby 直接: 6 间接: 9
wfjsw 直接: 1 间接: 9
kagurazakayashi 直接: 1 间接: 10
Co2333 直接: 5 间接: 10
kirainmoe 直接: 3 间接: 11
Ir1d 直接: 1 间接: 11
nekohasekai 直接: 3 间接: 12
Konano 直接: 1 间接: 12
mzdluo123 直接: 4 间接: 15
Enter-tainer 直接: 2 间接: 16
ccloli 直接: 4 间接: 16
b1f6c1c4 直接: 2 间接: 22
memset0 直接: 3 间接: 37
lz233 直接: 13 间接: 48
SCLeoX 直接: 14 间接: 49

可视化

./img.webp

使用方法

首先你需要1个Python3.6以上版本,然后pip install -r requirements.txt

接口是这样——

def ember(token, 我, days=365, save_path='1.png'): 
    ...
  • token: 你要自己去GitHub设置的Personal access tokens里注册一个,然后复制回来。(不需要加权限,用来提高GitHub访问频率的限制)

  • : 你的名字,比如RimoChan。

  • days: 扫描过去多少天内的star记录。

  • save_path: 保存可视化图片路径。

为什么是偷情???

因为找到GitHub上谁最喜欢你之后,你就可以去和她偷情了!

不说了不说了,我要去和SCLeoX偷情了,就这样,大家88。

Owner
黄巍
字节跳动首席吃点心员
黄巍
Source code of all the projects of Udacity Self-Driving Car Engineer Nanodegree.

self-driving-car In this repository I will share the source code of all the projects of Udacity Self-Driving Car Engineer Nanodegree. Hope this might

Andrea Palazzi 2.4k Dec 29, 2022
Cross-platform CLI tool to generate your Github profile's stats and summary.

ghs Cross-platform CLI tool to generate your Github profile's stats and summary. Preview Hop on to examples for other usecases. Jump to: Installation

HackerRank 134 Dec 20, 2022
PyTorch code for Composing Partial Differential Equations with Physics-Aware Neural Networks

FInite volume Neural Network (FINN) This repository contains the PyTorch code for models, training, and testing, and Python code for data generation t

Cognitive Modeling 20 Dec 18, 2022
Text-to-SQL in the Wild: A Naturally-Occurring Dataset Based on Stack Exchange Data

SEDE SEDE (Stack Exchange Data Explorer) is new dataset for Text-to-SQL tasks with more than 12,000 SQL queries and their natural language description

Rupert. 83 Nov 11, 2022
Python scripts for performing object detection with the 1000 labels of the ImageNet dataset in ONNX.

Python scripts for performing object detection with the 1000 labels of the ImageNet dataset in ONNX. The repository combines a class agnostic object localizer to first detect the objects in the image

Ibai Gorordo 24 Nov 14, 2022
Tracking Progress in Question Answering over Knowledge Graphs

Tracking Progress in Question Answering over Knowledge Graphs Table of contents Question Answering Systems with Descriptions The QA Systems Table cont

Knowledge Graph Question Answering 47 Jan 02, 2023
Code and Data for NeurIPS2021 Paper "A Dataset for Answering Time-Sensitive Questions"

Time-Sensitive-QA The repo contains the dataset and code for NeurIPS2021 (dataset track) paper Time-Sensitive Question Answering dataset. The dataset

wenhu chen 35 Nov 14, 2022
My coursework for Machine Learning (2021 Spring) at National Taiwan University (NTU)

Machine Learning 2021 Machine Learning (NTU EE 5184, Spring 2021) Instructor: Hung-yi Lee Course Website : (https://speech.ee.ntu.edu.tw/~hylee/ml/202

100 Dec 26, 2022
Implementation of ML models like Decision tree, Naive Bayes, Logistic Regression and many other

ML_Model_implementaion Implementation of ML models like Decision tree, Naive Bayes, Logistic Regression and many other dectree_model: Implementation o

Anshuman Dalai 3 Jan 24, 2022
Code accompanying paper: Meta-Learning to Improve Pre-Training

Meta-Learning to Improve Pre-Training This folder contains code to run experiments in the paper Meta-Learning to Improve Pre-Training, NeurIPS 2021. P

28 Dec 31, 2022
Get started with Machine Learning with Python - An introduction with Python programming examples

Machine Learning With Python Get started with Machine Learning with Python An engaging introduction to Machine Learning with Python TL;DR Download all

Learn Python with Rune 130 Jan 02, 2023
This is the workbook I created while I was studying for the Qiskit Associate Developer exam. I hope this becomes useful to others as it was for me :)

A Workbook for the Qiskit Developer Certification Exam Hello everyone! This is Bartu, a fellow Qiskitter. I have recently taken the Certification exam

Bartu Bisgin 66 Dec 10, 2022
Official repository for "Orthogonal Projection Loss" (ICCV'21)

Orthogonal Projection Loss (ICCV'21) Kanchana Ranasinghe, Muzammal Naseer, Munawar Hayat, Salman Khan, & Fahad Shahbaz Khan Paper Link | Project Page

Kanchana Ranasinghe 83 Dec 26, 2022
Official repository of OFA. Paper: Unifying Architectures, Tasks, and Modalities Through a Simple Sequence-to-Sequence Learning Framework

Paper | Blog OFA is a unified multimodal pretrained model that unifies modalities (i.e., cross-modality, vision, language) and tasks (e.g., image gene

OFA Sys 1.4k Jan 08, 2023
AugLiChem - The augmentation library for chemical systems.

AugLiChem Welcome to AugLiChem! The augmentation library for chemical systems. This package supports augmentation for both crystaline and molecular sy

BaratiLab 17 Jan 08, 2023
Code for NeurIPS 2020 article "Contrastive learning of global and local features for medical image segmentation with limited annotations"

Contrastive learning of global and local features for medical image segmentation with limited annotations The code is for the article "Contrastive lea

Krishna Chaitanya 152 Dec 22, 2022
Saliency - Framework-agnostic implementation for state-of-the-art saliency methods (XRAI, BlurIG, SmoothGrad, and more).

Saliency Methods 🔴 Now framework-agnostic! (Example core notebook) 🔴 🔗 For further explanation of the methods and more examples of the resulting ma

PAIR code 849 Dec 27, 2022
Adaptive Pyramid Context Network for Semantic Segmentation (APCNet CVPR'2019)

Adaptive Pyramid Context Network for Semantic Segmentation (APCNet CVPR'2019) Introduction Official implementation of Adaptive Pyramid Context Network

21 Nov 09, 2022
PyTorch implementation of SQN based on CloserLook3D's encoder

SQN_pytorch This repo is an implementation of Semantic Query Network (SQN) using CloserLook3D's encoder in Pytorch. For TensorFlow implementation, che

PointCloudYC 1 Oct 21, 2021
[WACV21] Code for our paper: Samuel, Atzmon and Chechik, "From Generalized zero-shot learning to long-tail with class descriptors"

DRAGON: From Generalized zero-shot learning to long-tail with class descriptors Paper Project Website Video Overview DRAGON learns to correct the bias

Dvir Samuel 25 Dec 06, 2022