skillfed

pyjson

Compare the similarities between two JSONs.

pyjson v1.4.1 149.9K downloads/30d#10,979 on PyPI0
Permissive license DORMANT released

What it is and what it does

pyjson is a lightweight utility for comparing two JSON files and identifying their structural and content differences. It is part of a small-tools collection and is designed to help developers quickly spot discrepancies between JSON documents—useful for testing, validation, or data reconciliation workflows.

The package has no runtime dependencies, making it straightforward to install. However, the project is dormant; the last commit was in March 2024 and there have been no releases since September 2023. It supports Python 3.8, 3.9, and 3.10. If you need active maintenance or ongoing feature development, this may not be the right choice.

Use it for:

  • Compare expected vs. actual JSON output in API tests or integration tests.
  • Validate that configuration files or data exports match a known-good reference.
  • Detect unintended changes in JSON structure during refactoring or data migrations.
  • Quickly identify differences between two versions of a JSON dataset for debugging.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Compares the similarity between two JSON files and reports structural and content differences.

Yes, if you need a simple, zero-dependency JSON comparison tool and can accept that the project is no longer actively maintained. The low install friction and permissive license make it a low-risk addition. However, if you require ongoing support, bug fixes, or active development, look for an actively maintained alternative.

Install

pyjson on PyPI

pip

pip install pyjson

uv

uv add pyjson

poetry

poetry add pyjson

Installing pyjson

Before you install

Low install friction with no runtime dependencies. Maintenance is dormant—last commit was 2024-03-21 and no releases since 2023-09-21—so expect no active bug fixes or feature updates.

License in practice

Licensed under MIT (permissive), so you can use, modify, and distribute freely with minimal restrictions.

Quickstart

pip install pyjson

from pyjson import compare
result = compare(json_file_1, json_file_2)

Verify before relying

  • What specific similarity metrics or algorithms the package uses to compare JSON structures.
  • Whether the tool handles nested JSON, arrays, and complex data types correctly.
  • Output format and how differences are reported to the user.

Package facts

License not declared (permissive)
Python support not specified
Install friction low — pure-Python wheel
Runtime dependencies none
Maintenance dormant — 1,058 days since the last release
Last repo commit
First released
Downloads 149,902/month — #10,979 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: pyjson-1.4.1-py3-none-any.whl

Keywords: pip, pyjson, logging

Intended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Tags

json comparisonjson diffcompare json filesjson similarityjson structure comparisonjson validation diff
json-toolstesting-utilities

More Utilities packages