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.

More examples: gitevo-examples.

Install

pip install gitevo

Usage

Analyzing the evolution of a Git repository:

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

For example:

$ gitevo https://github.com/pallets/flask -r python
$ gitevo https://github.com/expressjs/express -r js
$ gitevo https://github.com/vuejs/core -r ts
$ gitevo https://github.com/mockito/mockito -r java
$ gitevo https://github.com/fastapi/fastapi -r 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 https://github.com/pallets/flask -r python

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

# 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] 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).
  -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.

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.2.tar.gz (26.9 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.2-py3-none-any.whl (22.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gitevo-0.1.2.tar.gz
  • Upload date:
  • Size: 26.9 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.2.tar.gz
Algorithm Hash digest
SHA256 f7317af1805086e0471d375ff94f60905b12d847d6a46d055a042f9b5717ee21
MD5 72b8cd7bda01e3d4a5e2777a614574e5
BLAKE2b-256 5d9c93a37eb3b41e8f91693f17d45c93ce9f5c5706167f89b64394c3d775aa6a

See more details on using hashes here.

Provenance

The following attestation bundles were made for gitevo-0.1.2.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.2-py3-none-any.whl.

File metadata

  • Download URL: gitevo-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 22.9 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 335aa92f27ce5b8d05f0a0ac4ccd9526e50527ab7be72251dfe90a13814a14d5
MD5 9c0a973ece60a21195b1edeacacf0efd
BLAKE2b-256 3a73d8dca1a6033dba2f2fc5143f3283ba118ded66c5949e63de113720691f1a

See more details on using hashes here.

Provenance

The following attestation bundles were made for gitevo-0.1.2-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