Skip to main content

Accurate diffing between two versions of a project

Project description

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 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


Download files

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

Source Distribution

version-differ-0.3.14.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

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

version_differ-0.3.14-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file version-differ-0.3.14.tar.gz.

File metadata

  • Download URL: version-differ-0.3.14.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.11 CPython/3.9.7 Darwin/21.1.0

File hashes

Hashes for version-differ-0.3.14.tar.gz
Algorithm Hash digest
SHA256 f538df91b0b8cf79feb5f828131889e91cd8b5dea62718f9d52585614e8f36b8
MD5 374eee47088b65927c968f601bf3678a
BLAKE2b-256 b031f46f3b9a9b28a542207a3f984c997ed55ec02c3cfdc6aece4aae5fbb448e

See more details on using hashes here.

File details

Details for the file version_differ-0.3.14-py3-none-any.whl.

File metadata

  • Download URL: version_differ-0.3.14-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.7 Darwin/21.1.0

File hashes

Hashes for version_differ-0.3.14-py3-none-any.whl
Algorithm Hash digest
SHA256 7a5bad92a88ba3962b332d26757224b46659f4eff152a60dda52a3bcf94a7842
MD5 6328481c429dd2c2861e5db2ed8e433a
BLAKE2b-256 087bce3bd5af4a582d86d1e9f1f09a86efae3a156545323a5cfe8c96e8c29a1c

See more details on using hashes here.

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