diff --git a/README.md b/README.md index 0c57383..1251598 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# jay-diff +# jaydiff Lightweight JSON diff / patch library for Python. @@ -36,7 +36,7 @@ All operations are recursive — nested dicts are handled at every depth. ## Usage ```python -from diff import jay_diff_full, jay_merge_full +from jaydiff import jay_diff_full, jay_merge_full from copy import deepcopy 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": ```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}) # {'b': None} diff --git a/pyproject.toml b/pyproject.toml index e5f4b50..d23edd2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,10 +3,10 @@ requires = ["setuptools>=61"] build-backend = "setuptools.build_meta" [project] -name = "jay-diff" +name = "jaydiff" version = "0.1.0" description = "Lightweight JSON diff / patch library" requires-python = ">=3.10" [tool.setuptools.packages.find] -include = ["jay_diff*"] \ No newline at end of file +include = ["jaydiff*"] \ No newline at end of file