Fix docs and package name after jaydiff refactor

Update README title and import examples from old `diff` module name to
`jaydiff`. Align pyproject.toml package name and include pattern to match
the renamed package directory.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-27 13:37:34 +02:00
co-authored by Claude Sonnet 4.6
parent ddf0cc54ce
commit d54148fdf6
2 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -1,4 +1,4 @@
# jay-diff # jaydiff
Lightweight JSON diff / patch library for Python. Lightweight JSON diff / patch library for Python.
@@ -36,7 +36,7 @@ All operations are recursive — nested dicts are handled at every depth.
## Usage ## Usage
```python ```python
from diff import jay_diff_full, jay_merge_full from jaydiff import jay_diff_full, jay_merge_full
from copy import deepcopy from copy import deepcopy
old = {'soc': 80, 'range': 300, 'status': {'charging': True}} old = {'soc': 80, 'range': 300, 'status': {'charging': True}}
@@ -54,7 +54,7 @@ assert result == new
When a key whose value is a dict is absent from `new`, the delete delta records `None` to signal "remove the entire key": When a key whose value is a dict is absent from `new`, the delete delta records `None` to signal "remove the entire key":
```python ```python
from diff import jay_diff_del from jaydiff import jay_diff_del
jay_diff_del({'a': 1, 'b': {'x': 1, 'y': 2}}, {'a': 1}) jay_diff_del({'a': 1, 'b': {'x': 1, 'y': 2}}, {'a': 1})
# {'b': None} # {'b': None}
+2 -2
View File
@@ -3,10 +3,10 @@ requires = ["setuptools>=61"]
build-backend = "setuptools.build_meta" build-backend = "setuptools.build_meta"
[project] [project]
name = "jay-diff" name = "jaydiff"
version = "0.1.0" version = "0.1.0"
description = "Lightweight JSON diff / patch library" description = "Lightweight JSON diff / patch library"
requires-python = ">=3.10" requires-python = ">=3.10"
[tool.setuptools.packages.find] [tool.setuptools.packages.find]
include = ["jay_diff*"] include = ["jaydiff*"]