Name | git-commits-graph JSON |
Version |
0.2.2
JSON |
| download |
home_page | |
Summary | Display graph of changes in number of lines in project or changed lines |
upload_time | 2023-03-31 14:23:34 |
maintainer | |
docs_url | None |
author | Krystian Safjan |
requires_python | >=3.8,<4.0 |
license | MIT |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Git commits graph
![](https://img.shields.io/pypi/v/git-commits-graph.svg)
![](https://img.shields.io/pypi/pyversions/git-commits-graph.svg)
![](https://img.shields.io/pypi/l/fgit-commits-graph.svg)
![](https://img.shields.io/pypi/dm/git-commits-graph.svg)
[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/izikeros/git-commits-graph/main.svg)](https://results.pre-commit.ci/latest/github/izikeros/git-commits-graph/main)
[![Maintainability](https://api.codeclimate.com/v1/badges/081a20bb8a5201cd8faf/maintainability)](https://codeclimate.com/github/izikeros/git-commits-graph/maintainability)
Display plot of changes in repo - count of lines or changed lines
## Installation
Use pip to install the package:
```sh
$ pip3 install git-commits-graph
```
or pipx to install in isolated environment:
```sh
$ pipx install git-commits-graph
```
## Usage
plot timeline of both added and removed lines in your repo:
```sh
$ git-commits-graph your-repo-path -c
```
![changes](https://github.com/izikeros/git-commits-graph/raw/main/changes.jpg)
plot lines count evolution in time.
```shell
$ git-commits-graph your-repo-path -t
```
![lines](https://github.com/izikeros/git-commits-graph/raw/main/lines.jpg)
to see all options:
```
$ git-commits-graph --help
```
```
Usage: git-commits-graph [OPTIONS] GIT_DIR
Plot git commits timeline main function.
Options:
-b, --branch TEXT git repository branch to browse.
-s, --style TEXT matplotlib plotting style to use.
-c, --changes plot timeline of both added and removed
lines.
-t, --total-lines plot lines count time evolution.
-g, --aggregate-by TEXT aggregate by: Y - year, M - month, W - week,
D - day
-l, --log-scale aggregate by day
-a, --list-available-plot-styles
list available plot styles and exit.
-e, --engine TEXT plotting engine to use (matplitlib | plotly)
-o, --output-file TEXT output file name (for plotly backend)
--help Show this message and exit.
```
## Related Projects
[danielfleischer/git-commits-lines-graph](https://github.com/danielfleischer/git-commits-lines-graph) - A small python script to visualize the number of lines in a project, as a function of time.
## License
[MIT](https://izikeros.mit-license.org/) © [Krystian Safjan](https://safjan.com).
Raw data
{
"_id": null,
"home_page": "",
"name": "git-commits-graph",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8,<4.0",
"maintainer_email": "",
"keywords": "",
"author": "Krystian Safjan",
"author_email": "ksafjan@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/48/7f/aacdc9c7f00e844d73f8682804708dcd2197724c5964b8d67b899d2b88f0/git_commits_graph-0.2.2.tar.gz",
"platform": null,
"description": "# Git commits graph\n![](https://img.shields.io/pypi/v/git-commits-graph.svg)\n![](https://img.shields.io/pypi/pyversions/git-commits-graph.svg)\n![](https://img.shields.io/pypi/l/fgit-commits-graph.svg)\n![](https://img.shields.io/pypi/dm/git-commits-graph.svg)\n[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/izikeros/git-commits-graph/main.svg)](https://results.pre-commit.ci/latest/github/izikeros/git-commits-graph/main)\n[![Maintainability](https://api.codeclimate.com/v1/badges/081a20bb8a5201cd8faf/maintainability)](https://codeclimate.com/github/izikeros/git-commits-graph/maintainability)\n\nDisplay plot of changes in repo - count of lines or changed lines\n\n## Installation\n\nUse pip to install the package:\n```sh\n$ pip3 install git-commits-graph\n```\nor pipx to install in isolated environment:\n```sh\n$ pipx install git-commits-graph\n```\n\n## Usage\nplot timeline of both added and removed lines in your repo:\n```sh\n$ git-commits-graph your-repo-path -c\n```\n![changes](https://github.com/izikeros/git-commits-graph/raw/main/changes.jpg)\n\nplot lines count evolution in time.\n```shell\n$ git-commits-graph your-repo-path -t\n```\n![lines](https://github.com/izikeros/git-commits-graph/raw/main/lines.jpg)\nto see all options:\n```\n$ git-commits-graph --help\n```\n\n```\nUsage: git-commits-graph [OPTIONS] GIT_DIR\n\n Plot git commits timeline main function.\n\nOptions:\n -b, --branch TEXT git repository branch to browse.\n -s, --style TEXT matplotlib plotting style to use.\n -c, --changes plot timeline of both added and removed\n lines.\n -t, --total-lines plot lines count time evolution.\n -g, --aggregate-by TEXT aggregate by: Y - year, M - month, W - week,\n D - day\n -l, --log-scale aggregate by day\n -a, --list-available-plot-styles\n list available plot styles and exit.\n -e, --engine TEXT plotting engine to use (matplitlib | plotly)\n -o, --output-file TEXT output file name (for plotly backend)\n --help Show this message and exit.\n\n```\n\n\n## Related Projects\n[danielfleischer/git-commits-lines-graph](https://github.com/danielfleischer/git-commits-lines-graph) - A small python script to visualize the number of lines in a project, as a function of time.\n\n## License\n\n[MIT](https://izikeros.mit-license.org/) \u00a9 [Krystian Safjan](https://safjan.com).\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Display graph of changes in number of lines in project or changed lines",
"version": "0.2.2",
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "a725b56e0e36038036784193458b76c2a95c04588e2b0384d4cd85bb72611f78",
"md5": "3591f256f48db0c1125ef27082a32550",
"sha256": "6857114add93129480b4ec3e3d3f9c0662d7301008b54209ed132e4e601ddf09"
},
"downloads": -1,
"filename": "git_commits_graph-0.2.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "3591f256f48db0c1125ef27082a32550",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8,<4.0",
"size": 6505,
"upload_time": "2023-03-31T14:23:32",
"upload_time_iso_8601": "2023-03-31T14:23:32.864596Z",
"url": "https://files.pythonhosted.org/packages/a7/25/b56e0e36038036784193458b76c2a95c04588e2b0384d4cd85bb72611f78/git_commits_graph-0.2.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "487faacdc9c7f00e844d73f8682804708dcd2197724c5964b8d67b899d2b88f0",
"md5": "c73e75bac82aa9354b15fc9a19d82025",
"sha256": "1deb2560c2b9e7b851fda465b81fc7fbb811ef046f224bdb4c1035ebfc406a27"
},
"downloads": -1,
"filename": "git_commits_graph-0.2.2.tar.gz",
"has_sig": false,
"md5_digest": "c73e75bac82aa9354b15fc9a19d82025",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8,<4.0",
"size": 5399,
"upload_time": "2023-03-31T14:23:34",
"upload_time_iso_8601": "2023-03-31T14:23:34.070253Z",
"url": "https://files.pythonhosted.org/packages/48/7f/aacdc9c7f00e844d73f8682804708dcd2197724c5964b8d67b899d2b88f0/git_commits_graph-0.2.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-03-31 14:23:34",
"github": false,
"gitlab": false,
"bitbucket": false,
"lcname": "git-commits-graph"
}