A tool for measuring the activity of a git repo using a variety of single summary statistics
Project description
Regulagity
Introduction
Regulagity (reh-gew-la-git-ee) is a command-line tool for measuring activity in a git repo, ultimately producing a single number that summarises a repo.
For example, you can ask "how many commits per year does this repo have?" or "what proportion of months does this repo have new commits?". Both of these are good summaries of how active a repo is.
Installation
Run:
pip install regulagity
Usage
Usage: regulagity [OPTIONS] [LOCATION]
Calculates summary statistics for the git repository located at LOCATION.
LOCATION must be the path either to a local git repository or to a git
remote, e.g. `/home/michael/Programming/Regulagity/` or
`https://github.com/TMiguelT/Regulagity.git`
Options:
--period TEXT Period of time to summarise commits over. This
consists of an optional number followed by a
letter code, e.g. `2W` means two weeks, `3M`
means 3 months, `Y` means 1 year etc. For a full
reference on these string codes, refer to
http://pandas.pydata.org/pandas-
docs/stable/user_guide/timeseries.html#offset-
aliases
--stat [proportion|count] The way we summarise each commit over the time
period. `proportion` indicates that we should
calculate what proportion of the time period has
any commits (e.g. how many weeks on average have
any activity) whereas `count` indicates that we
should take the average number of commits in this
time period (e.g. how many commits are on average
made per week)
--help Show this message and exit.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
regulagity-0.0.1.tar.gz
(3.1 kB
view details)
Built Distribution
File details
Details for the file regulagity-0.0.1.tar.gz
.
File metadata
- Download URL: regulagity-0.0.1.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66ff8f5fd05483de62ec032d2de77e510be4e6782970cdbf9559b08e5976377b |
|
MD5 | 8f09b03e63d12ddf241427ea94cae8fe |
|
BLAKE2b-256 | c78014d7caecca4f31c60cde24f1229d791f1385f60d9ef89cae1a91ffe8d546 |
File details
Details for the file regulagity-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: regulagity-0.0.1-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c843e86cbdd3f434d81c6506b3c4fcbf0b617b5338c8f9a067dc20f5ba35b637 |
|
MD5 | 9ca38616f368810b70af81c01659a961 |
|
BLAKE2b-256 | b931cd3e08ad873c6013d60935abf2804c7d7d41e4a1f991f0e6c00a3befcae7 |