资源算法flairwars-graph

flairwars-graph

2020-04-09 | |  36 |   0 |   0

flairwars-graph

Uses matplotlib and pushshift to plot the amount of posts on /r/flairwars and associated subreddits

scraper.py accesses the pushshift API through the psaw module to put daily post counts in data.txt. This is appended for every day in case the program crashes before all the data can be written. If the program reaches the end without crashing, all the data is put in dataFinal.txt as a long array.

grapher.py imports dataFinal.txt, converts it back to an array and plots it with matplotlib.

图片.png

上一篇:eslint-config-flair

下一篇:smartos-flair

用户评价
全部评价

热门资源

  • seetafaceJNI

    项目介绍 基于中科院seetaface2进行封装的JAVA...

  • spark-corenlp

    This package wraps Stanford CoreNLP annotators ...

  • Keras-ResNeXt

    Keras ResNeXt Implementation of ResNeXt models...

  • capsnet-with-caps...

    CapsNet with capsule-wise convolution Project ...

  • shih-styletransfer

    shih-styletransfer Code from Style Transfer ...