Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Get pr stats from stash (bitbucket server)

Project description

Code style: black Travis (.com) branch PyPI version PyPI pyversions

stash-pr-stats

Simple wrapper around stashy to pull stats about pull requests for selected users in a project in bitbucket server (aka stash).

Prints PR stats summary (open + merged total) and generates an svg chart with monthly stats for selected users.

install

Install from pypi:

pip install stash-pr-stats

example usage

# see help for more options
stash-pr-stats --help

# running for a single user
stash-pr-stats --accesstoken <token> --searchuser noahp --url="https://mystashserver.com"
+-------------+--------+----------+
| user        |   open |   merged |
+=============+========+==========+
| noahp       |      0 |      123 |
+-------------+--------+----------+
Success! see output file:///home/noah/dev/github/stash-pr-stats/pr-stats.svg

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for stash-pr-stats, version 0.0.5
Filename, size File type Python version Upload date Hashes
Filename, size stash_pr_stats-0.0.5-py2.py3-none-any.whl (5.1 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page