Python/MongoDB Information Platform - Server
Project description
Metrique Server
Author: “Chris Ward” <cward@redhat.com>
Sources: https://github.com/drpoovilleorg/metrique
Installation
General
Make sure you have the following OS stuff installed before doing anything else. The examples given below are fedora rpm package names:
yum install git python python-devel python-setuptools gcc gcc-c++ krb5-devel
Also, make sure python pip, distribute and setuptools are installed up2date:
easy_install -U pip pip install -U distribute pip install -U setuptools
If you see any error, not otherwise mentioned here, Google.
Server
Make sure you have MongoDB installed. Instructions can be found on the web. For Fedora, for example, see http://bit.ly/1dFqC1y
Launch Mongodb.
Install metriqued with pip:
pip install metriqued
Then, start metriqued by running:
$> metriqued start
Try running an example gitrepo_commit etl job, for example, in ipython:
$> ipython notebook --pylab=inline ... >>> from metrique import pyclient >>> m = pyclient() >>> m.ping() >>> m = pyclient(cube='gitrepo_commit') >>> m.extract(uri='https://github.com/drpoovilleorg/metrique.git') >>> q = m.fetch('gitrepo_commit', 'author, committer_ts') >>> q.groupby(['author']).size().plot(kind='barh') <matplotlib.axes.AxesSubplot at 0x6f77ad0>
Known Issues
None
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.