pystackalytics

Python wrapper for Mirantis Stackalytics API.


Keywords
pystackalytics
License
MIT
Install
pip install pystackalytics==0.1.3

Documentation

pystackalytics

Python wrapper for Mirantis Stackalytics API.

Usage

from pystackalytics import Stackalytics
api = Stackalytics()
api.companies(release='kilo').stats[1].name
# u'Mirantis'

All methods support common set of parameters that allow to filter resulting data.

Parameter Description
release Name of OpenStack release or ‘all’, by default current release
project_type Type of project, by default ‘openstack’
module Name of module (repository name)
company Company name
user_id Launchpad id of user or email if no Launchpad id is mapped.
metric Metric: e.g. ‘commits’, ‘loc’, ‘marks’, ‘emails’
start_date When the period starts
end_date When the period ends

Features

  • TODO