Metadata-Version: 2.1
Name: stash-pr-stats
Version: 0.0.4
Summary: Get pr stats from stash (bitbucket server)
Home-page: https://github.com/noahp/stash-pr-stats
Author: Noah Pendleton
Author-email: 2538614+noahp@users.noreply.github.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.6
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
Requires-Dist: click
Requires-Dist: pygal
Requires-Dist: stashy (==0.6)
Requires-Dist: tabulate
Requires-Dist: tqdm
Requires-Dist: pathlib

[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg?style=for-the-badge)](https://github.com/ambv/black) [![Travis (.com) branch](https://img.shields.io/travis/com/noahp/stash-pr-stats/master.svg?style=for-the-badge)](https://travis-ci.com/noahp/stash-pr-stats) [![PyPI version](https://img.shields.io/pypi/v/stash-pr-stats.svg?style=for-the-badge)](https://pypi.org/project/stash-pr-stats/) [![PyPI pyversions](https://img.shields.io/pypi/pyversions/stash-pr-stats.svg?style=for-the-badge)](https://pypi.python.org/pypi/stash-pr-stats/)
# stash-pr-stats
Simple wrapper around [stashy](https://github.com/cosmin/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:
```bash
pip install stash-pr-stats
```

# example usage
```bash
# 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
```


