Skip to main content

Code evolution analysis for Git repositories

Project description

tests

GitEvo

Code evolution analysis for Git repositories. It currently supports Python, JavaScript, TypeScript, and Java.

Examples of reports: Flask, Pandas, Node, Express, TypeScript, Vue-core, Spring Boot, Mockito, and FastAPI.

See more examples: gitevo-examples.

Install

pip install gitevo

Usage

Analyzing the evolution of a Git repository:

$ gitevo -r <python|js|ts|fastapi> <git_repo>

For example:

$ gitevo -r python https://github.com/pallets/flask
$ gitevo -r js https://github.com/expressjs/express
$ gitevo -r ts https://github.com/vuejs/core
$ gitevo -r java https://github.com/mockito/mockito
$ gitevo -r fastapi https://github.com/fastapi/fastapi

git_repo accepts (1) a Git URL, (2) a path to a local repository, or (3) a directory containing multiple Git repositories:

# 1. Git URL
$ gitevo -r python https://github.com/pallets/flask

# 2. Path to a local repository
$ git clone https://github.com/pallets/flask
$ gitevo -r python flask

# 3. Directory containing multiple Git repositories
$ mkdir projects
$ cd projects
$ git clone https://github.com/pallets/flask
$ git clone https://github.com/pallets/click
$ gitevo -r python .

Command line arguments

$ gitevo --help
usage: gitevo [-h] [-r {python,js,ts,java,fastapi}] [-f FROM_YEAR] [-t TO_YEAR] [-m] [-l] [-v] repo

Command line for GitEvo

positional arguments:
  repo                  Git repository to analyze. Accepts a Git URL, a path to a local repository, or a directory containing multiple Git
                        repositories

options:
  -h, --help            show this help message and exit
  -r {python,js,ts,java,fastapi}, --report-type {python,js,ts,java,fastapi}
                        Report type to be generated. Default is python.
  -f FROM_YEAR, --from-year FROM_YEAR
                        Filter commits to be analyzed (from year). Default is today - 5 years.
  -t TO_YEAR, --to-year TO_YEAR
                        Filter commits to be analyzed (to year).
  -m, --month           Set to analyze commits by month.
  -l, --last-version-only
                        Set to analyze the last version only.
  -v, --version         Show the GitEvo version.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gitevo-0.1.3.tar.gz (26.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gitevo-0.1.3-py3-none-any.whl (22.2 kB view details)

Uploaded Python 3

File details

Details for the file gitevo-0.1.3.tar.gz.

File metadata

  • Download URL: gitevo-0.1.3.tar.gz
  • Upload date:
  • Size: 26.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for gitevo-0.1.3.tar.gz
Algorithm Hash digest
SHA256 e9921fd4777a2cff33aa0246bade9a1c89db6e0e41338a958cffca3a935bef62
MD5 0c79ab6a16706d3736d98d28cc07b5c6
BLAKE2b-256 4c91779fefb9c0da2fd4b8ed7783b92ef6715c0f2bfa43874e94ba9aaa5ebe19

See more details on using hashes here.

Provenance

The following attestation bundles were made for gitevo-0.1.3.tar.gz:

Publisher: publish.yml on andrehora/gitevo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gitevo-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: gitevo-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 22.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for gitevo-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 00e530ca70b0f4af0b59f3dcabbba20604933dbd09e5b185abddc80147015b53
MD5 163a557f393e8395b73a1b3653f60144
BLAKE2b-256 d6a9717f47287f81234a6806e02449bb1fe0ae607ef01c74897dfdd76994e7e6

See more details on using hashes here.

Provenance

The following attestation bundles were made for gitevo-0.1.3-py3-none-any.whl:

Publisher: publish.yml on andrehora/gitevo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page