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
File details
Details for the file version-differ-0.3.15.tar.gz
.
File metadata
- Download URL: version-differ-0.3.15.tar.gz
- Upload date:
- Size: 10.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.11 CPython/3.9.10 Darwin/21.1.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2119889306ee9e08e8509d0d98a427226bc237dc0e5dbe0265f79b40df101dd6 |
|
MD5 | b886154cb1fa7acfcf53339a11441f7a |
|
BLAKE2b-256 | 3f30060081b8f65b3d477cd5c01296481110d43876c17ee9a68927d75932ed53 |
File details
Details for the file version_differ-0.3.15-py3-none-any.whl
.
File metadata
- Download URL: version_differ-0.3.15-py3-none-any.whl
- Upload date:
- Size: 9.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.11 CPython/3.9.10 Darwin/21.1.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07e52d6097851fdf11d9f2e6e5e7f46d22202d25b1fc23349595a5eee09f76e4 |
|
MD5 | f16c356b4892edee389f8c8146603041 |
|
BLAKE2b-256 | a9a47dd638c565d91b6809b03484e64a94000d525da023d023371d4ea88e86a6 |