Skip to main content

lockdiff

Reviewing a PR that touches uv.lock or poetry.lock means scrolling thousands of lines. lockdiff tells you in a few lines what actually changed: packages added, removed, upgraded (with major/minor/patch) and downgraded. Stdlib only, Python 3.9+.

$ lockdiff --git main uv.lock          # working tree vs. branch main
$ lockdiff old/poetry.lock new/poetry.lock -f markdown   # paste into a PR comment
$ lockdiff --git HEAD~1 requirements.txt --exit-code      # exit 1 in CI if deps changed
Upgraded (2)
  requests 2.30.0 -> 2.31.1 [minor]
  urllib3 1.26.0 -> 2.0.0 [major]
Added (1)
  fresh 0.3

Supported: uv.lock, poetry.lock (any [[package]] TOML lock), Pipfile.lock, pinned requirements.txt (name==version), npm package-lock.json. Options: --git REV, -f text|markdown|json, --exit-code. Exit code 2 on unreadable files or bad arguments.

Install

pip install lockdiff or copy lockdiff.py.

Support

MIT licensed. If it saves you time: https://paypal.me/RafalBaranowski

Metadata

Release files for lockdiff 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lockdiff 0.1.0
File Size Uploaded Provenance Actions
lockdiff-0.1.0.tar.gz 6.1 kB Without provenance Details for lockdiff-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for lockdiff 0.1.0
File Interpreter ABI Platform Actions
lockdiff-0.1.0-py3-none-any.whl Python 3 none any Details for lockdiff-0.1.0-py3-none-any.whl

Total release size: 11.4 kB

Release files / lockdiff-0.1.0.tar.gz

Download URL lockdiff-0.1.0.tar.gz
Size 6.1 kB
Tags Source
SHA-256 checksum
How to use checksums
2c6224a077c04255bce47c6d605354d2cf1cffbc4f31dcac24138e84b3417110
BLAKE2b-256 checksum
How to use checksums
15bef3f7e3c011cc27d16e1941fe055983df1c848a8720b581a82e08892c2b41
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Release files / lockdiff-0.1.0-py3-none-any.whl

Download URL lockdiff-0.1.0-py3-none-any.whl
Size 5.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4744a0cfb38bccfdda3fce288cec28cf84cb595f52df025150e05d4772c79b64
BLAKE2b-256 checksum
How to use checksums
699a36e9785c82f63eee42d16b415b442ea26c0bb599f7148498bf7ec2123ffd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Security for lockdiff 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page