Skip to content

nasifimtiazohi/version-differ

Repository files navigation

version-differ

PyPI Python Version License Read the documentation at https://version-differ.readthedocs.io/ Build Package Status Run Tests Status Codecov pre-commit Black

Features

  • Given two versions of a package, returns the list of changed files with the count of loc_added and loc_removed in each file.
  • Covers eight ecosystems: Cargo, Composer, Go, Maven, npm, NuGet, pip, and RubyGems.
  • For Cargo, Composer, Maven, npm, pip, and RubyGems, version-differ downloads source code for a version of a package directly from the respective package registries to measure the diff.
  • For Go and NuGet, it clones the source code repository, applies some heuristics to detect package-specific files, and measures the diff.
  • diffing is performed using native git-diff, ignores black lines (does not ignore comments).

Installation

You can install version-differ via pip from PyPI:

$ pip install version-differ

Usage

Please see the Command-line Reference for details.

Credits

This package was created with cookietemple using Cookiecutter based on Hypermodern_Python_Cookiecutter.

About

Accurate diffing between two versions of a package

Resources

License

Stars

Watchers

Forks

Packages

No packages published