Python wrapper for Mirantis Stackalytics API.
- Free software: The MIT License
- Documentation: https://pystackalytics.readthedocs.org.
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 |
- TODO