https://github.com/orangecms/ruby-gem-stats
https://github.com/orangecms/ruby-gem-stats
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/orangecms/ruby-gem-stats
- Owner: orangecms
- Created: 2016-06-06T08:54:46.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-06-07T16:17:28.000Z (about 10 years ago)
- Last Synced: 2025-01-24T10:24:28.160Z (over 1 year ago)
- Language: Jupyter Notebook
- Size: 215 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# About
This is a Jupyter notebook containing scripts to generate statistics over Ruby gems and plot them.
It all started with [a tweet](http://www.apiful.io/intro/2016/06/01/npm-analysis.html).
It's for comparing against the [development of Node modules](http://www.apiful.io/intro/2016/06/01/npm-analysis.html).
There is also a more [general chart on numbers of packages (modules)](http://www.modulecounts.com/) of different programming languages.
## Reproduce
Run the script `dldump.sh` to obtain and extract the database dump. [Adjust accordingly](https://rubygems.org/pages/data) for a more recent copy.
To run the scripts, you will need Python, Jupyter, pandas, and matplotlib.
If you are using [conda](http://conda.pydata.org/docs/intro.html), run `conda env create` to install the dependencies into an environment and then `source activate ruby-gem-stats` (in a Bourne-compatible shell) to activate it.
*Attention*: I discourage you strongly from piping shell scripts from curl etc. into a shell. On Arch Linux and other systems using `pacman`, you can install `conda` and its subtools from the AUR.
Then invoke `jupyter-notebook` to start the notebook server, which you can access in your web browser. You will see details in the console.
## Some pictures :)
### Ruby gems

### Node modules
