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.9.tar.gz (9.8 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.9-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: version-differ-0.3.9.tar.gz
  • Upload date:
  • Size: 9.8 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.9.tar.gz
Algorithm Hash digest
SHA256 fd24d122c2962dff1abb0c14e116150cd1831a67cc2f536642d15efcf2d96a14
MD5 846d33fd2bdc5782ae6a718ffcad8baa
BLAKE2b-256 9a7b8dde029bd1c4f4f9d28b5d0643297f1e3ae0f1ac31a6422512f7ba3d50fa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: version_differ-0.3.9-py3-none-any.whl
  • Upload date:
  • Size: 9.4 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.9-py3-none-any.whl
Algorithm Hash digest
SHA256 831ef1c67933322fd89094e3046cbf9506afdcdd176ef3df58f90cd2e81c8d51
MD5 260c21ea94d6dde44c40e0716643ccf9
BLAKE2b-256 6a6078269502662bddbe5be0f18d58716b5156df3d2bf41d376ea234b07307fb

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