Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sloria/python-subreddit-stats
Visualization of user traffic on python-related subreddits
https://github.com/sloria/python-subreddit-stats
Last synced: 16 days ago
JSON representation
Visualization of user traffic on python-related subreddits
- Host: GitHub
- URL: https://github.com/sloria/python-subreddit-stats
- Owner: sloria
- License: other
- Created: 2013-07-29T00:23:22.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-08-04T22:19:58.000Z (over 11 years ago)
- Last Synced: 2024-10-04T20:26:37.656Z (about 1 month ago)
- Language: CSS
- Size: 199 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Python subreddit stats
`What?`
A quick hack to capture and visualize user traffic on Python-related subreddits.
See it live: [http://stevenloria.com/python-subreddit-stats][live site]
`How?`
- A [python script](https://github.com/sloria/datasources/blob/master/scripts/rusers.py) scrapes the subreddit pages for the current user counts. An [Openshift](https://www.openshift.com/) app runs this script every hour and makes the data available [here][data].
- `script.coffee`/`script.js` uses [D3][] and [NVD3][] to visualize the data.[data]: http://data.stevenloria.com/python-subreddit-traffic.csv
[live site]: http://stevenloria.com/python-subreddit-stats
[D3]: http://d3js.org/
[NVD3]: http://nvd3.org/