Metadata-Version: 2.1
Name: stash-pr-stats
Version: 0.0.0
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
Description-Content-Type: text/markdown
Platform: UNKNOWN
Requires-Dist: click
Requires-Dist: pygal
Requires-Dist: stashy
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?longCache=true&style=for-the-badge)](https://pypi.org/project/stash-pr-stats/)
# stash-pr-stats
Simple wrapper around [stashy](https://github.com/cosmin/stashy) to pull stats
about PR's for users across repos in a project in bitbucket server (aka stash).

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

# install
```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
```


