Accurate diffing between two versions of a project
Project description
Features
Given any 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, namely 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for version_differ-0.3.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e39f4b25581a4b553f7d9a00244c1b0da03a019232f83ae4cf8c89e31e481ec4 |
|
MD5 | 3acce21cffcda91328a98d109b3ec18d |
|
BLAKE2b-256 | 3f70fab67b3c490aca1733ab71909ad44651e87733c5f200856bf2b9802b872d |