An open API service indexing awesome lists of open source software.

https://github.com/n0rfas/git-analytics

Advanced analytics for Git repositories — commits, authors, code churn, lines of code, trends, and visual dashboards.
https://github.com/n0rfas/git-analytics

code-metrics code-statistics commit-analysis commit-history developer-metrics git git-analysis git-analytics git-analyze git-commits git-insights git-metrics git-repo-stats git-statistics git-stats git-status lines-of-code repo-analysis repo-stats repository-metrics

Last synced: 13 days ago
JSON representation

Advanced analytics for Git repositories — commits, authors, code churn, lines of code, trends, and visual dashboards.

Awesome Lists containing this project

README

          

# Git-Analytics

[![PyPI](https://img.shields.io/pypi/v/git-analytics.svg?color=green)](https://pypi.org/project/git-analytics/)
[![Python Versions](https://img.shields.io/pypi/pyversions/git-analytics.svg)](https://pypi.org/project/git-analytics/)
[![code quality check](https://github.com/n0rfas/git-analytics/actions/workflows/code-check-dev.yml/badge.svg?branch=dev)](https://github.com/n0rfas/git-analytics/tree/dev)
[![python versions check](https://github.com/n0rfas/git-analytics/actions/workflows/python-matrix-main.yml/badge.svg?branch=main)](https://github.com/n0rfas/git-analytics/tree/main)

The detailed analysis tool for git repositories.

## Installation

The latest stable version can be installed directly from PyPI:

```sh
pip install git-analytics
```

## Usage

To run, enter the command and open the browser at [http://localhost:8000/](http://localhost:8000/).

```sh
git-analytics
```

## Screenshots

![screenshot 1](https://git-analytics.com/static/main_0_1_13.png)

## Development

### Installation

```bash
poetry install --with dev
```

### Running

```bash
poetry run git-analytics
```

### Tests

```bash
poetry run pytest
poetry run pytest --cov=git_analytics --cov-report=term-missing --cov-fail-under=45
```

### Type Checking

```bash
poetry run mypy .
```

### Linting

```bash
poetry run ruff check .
poetry run ruff check --select I .
```