【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
黄巍
字节跳动首席吃点心员
黄巍
Simulation-based inference for the Galactic Center Excess

Simulation-based inference for the Galactic Center Excess Siddharth Mishra-Sharma and Kyle Cranmer Abstract The nature of the Fermi gamma-ray Galactic

Siddharth Mishra-Sharma 3 Jan 21, 2022
A simplistic and efficient pure-python neural network library from Phys Whiz with CPU and GPU support.

A simplistic and efficient pure-python neural network library from Phys Whiz with CPU and GPU support.

Manas Sharma 19 Feb 28, 2022
This repository is the code of the paper "Sparse Spatial Transformers for Few-Shot Learning".

🌟 Sparse Spatial Transformers for Few-Shot Learning This code implements the Sparse Spatial Transformers for Few-Shot Learning(SSFormers). Our code i

chx_nju 38 Dec 13, 2022
Optimizing synthesizer parameters using gradient approximation

Optimizing synthesizer parameters using gradient approximation NASH 2021 Hackathon! These are some experiments I conducted during NASH 2021, the Neura

Jordie Shier 10 Feb 10, 2022
Little tool in python to watch anime from the terminal (the better way to watch anime)

ani-cli Script working again :), thanks to the fork by Dink4n for the alternative approach to by pass the captcha on gogoanime A cli to browse and wat

Harshith 4.5k Dec 31, 2022
📚 A collection of Jupyter notebooks for learning and experimenting with OpenVINO 👓

A collection of ready-to-run Python* notebooks for learning and experimenting with OpenVINO developer tools. The notebooks are meant to provide an introduction to OpenVINO basics and teach developers

OpenVINO Toolkit 840 Jan 03, 2023
LV-BERT: Exploiting Layer Variety for BERT (Findings of ACL 2021)

LV-BERT Introduction In this repo, we introduce LV-BERT by exploiting layer variety for BERT. For detailed description and experimental results, pleas

Weihao Yu 14 Aug 24, 2022
cl;asification problem using classification models in supervised learning

wine-quality-predition---classification cl;asification problem using classification models in supervised learning Wine Quality Prediction Analysis - C

Vineeth Reddy Gangula 1 Jan 18, 2022
Cross-Document Coreference Resolution

Cross-Document Coreference Resolution This repository contains code and models for end-to-end cross-document coreference resolution, as decribed in ou

Arie Cattan 29 Nov 28, 2022
SCALE: Modeling Clothed Humans with a Surface Codec of Articulated Local Elements (CVPR 2021)

SCALE: Modeling Clothed Humans with a Surface Codec of Articulated Local Elements (CVPR 2021) This repository contains the official PyTorch implementa

Qianli Ma 133 Jan 05, 2023
source code the paper Fast and Robust Iterative Closet Point.

Fast-Robust-ICP This repository includes the source code the paper Fast and Robust Iterative Closet Point. Authors: Juyong Zhang, Yuxin Yao, Bailin De

yaoyuxin 320 Dec 28, 2022
Pytorch implementation for ACMMM2021 paper "I2V-GAN: Unpaired Infrared-to-Visible Video Translation".

I2V-GAN This repository is the official Pytorch implementation for ACMMM2021 paper "I2V-GAN: Unpaired Infrared-to-Visible Video Translation". Traffic

69 Dec 31, 2022
An All-MLP solution for Vision, from Google AI

MLP Mixer - Pytorch An All-MLP solution for Vision, from Google AI, in Pytorch. No convolutions nor attention needed! Yannic Kilcher video Install $ p

Phil Wang 784 Jan 06, 2023
Fast and robust certifiable relative pose estimation

Fast and Robust Relative Pose Estimation for Calibrated Cameras This repository contains the code for the relative pose estimation between two central

42 Dec 06, 2022
AdaDM: Enabling Normalization for Image Super-Resolution

AdaDM AdaDM: Enabling Normalization for Image Super-Resolution. You can apply BN, LN or GN in SR networks with our AdaDM. Pretrained models (EDSR*/RDN

58 Jan 08, 2023
RipsNet: a general architecture for fast and robust estimation of the persistent homology of point clouds

RipsNet: a general architecture for fast and robust estimation of the persistent homology of point clouds This repository contains the code asscoiated

Felix Hensel 14 Dec 12, 2022
Github Traffic Insights as Prometheus metrics.

github-traffic Github Traffic collects your repository's traffic data and exposes it as Prometheus metrics. Grafana dashboard that displays the metric

Grafana Labs 34 Oct 27, 2022
Fast sparse deep learning on CPUs

SPARSEDNN **If you want to use this repo, please send me an email: [email pro

Ziheng Wang 44 Nov 30, 2022
Leveraging Instance-, Image- and Dataset-Level Information for Weakly Supervised Instance Segmentation

Leveraging Instance-, Image- and Dataset-Level Information for Weakly Supervised Instance Segmentation This paper has been accepted and early accessed

Yun Liu 39 Sep 20, 2022
To Design and Implement Logistic Regression to Classify Between Benign and Malignant Cancer Types

To Design and Implement Logistic Regression to Classify Between Benign and Malignant Cancer Types, from a Database Taken From Dr. Wolberg reports his Clinic Cases.

Astitva Veer Garg 1 Jul 31, 2022