Metadata-Version: 2.3
Name: git-analytics
Version: 0.1.9
Summary: Advanced analytics for Git repositories — commits, authors, code churn, lines of code, trends, and visual dashboards.
License: MIT
Keywords: git,git-statistics,git-status,code-metrics,lines-of-code,commit-history,git-analysis,git-metrics,git-commits,repo-stats git-stats,repository-metrics,developer-metrics,git-analytics code-statistics,commit-analysis,git-analyze,git-insights,repo-analysis,git-repo-stats
Author: n0rfas
Author-email: n0rfas@protonmail.com
Requires-Python: >=3.7
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Dist: GitPython (>=3.1.0,<3.2.0)
Requires-Dist: falcon (>=3.1.0,<3.2.0)
Project-URL: Homepage, https://git-analytics.com
Project-URL: Repository, https://github.com/n0rfas/git-analytics
Description-Content-Type: text/markdown

# 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://live.staticflickr.com/65535/52679528807_48caac329f_k.jpg)

![screenshot 2](https://live.staticflickr.com/65535/52680543193_c676158df2_k.jpg)

![screenshot 3](https://live.staticflickr.com/65535/52679528732_1f7b9351cd_k.jpg)

## 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=30
```

### Type Checking

```bash
poetry run mypy .
```

### Linting

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

