Skip to main content

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

Metadata

Release files for stash-pr-stats 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for stash-pr-stats 0.0.5
File Interpreter ABI Platform
stash_pr_stats-0.0.5-py2.py3-none-any.whl Python 2, Python 3 none any Details

Release files / stash_pr_stats-0.0.5-py2.py3-none-any.whl

Download URL stash_pr_stats-0.0.5-py2.py3-none-any.whl
Size 5.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
194c9fd76f9a77a2641fd27930603e0cac6827f0b1094a4f655cdc3cf541e1bf
BLAKE2b-256 checksum
How to use checksums
a0384e903cac83c8c01ab91c2b0a37a6ee5a553303bd8c4712845281b5bd2441
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5

Release history Release notifications | RSS feed

This release

0.0.5 This release

1 release file

0.0.4

1 release file

0.0.2

1 release file

0.0.1

1 release file

0.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page