diff-set 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
diff_set/__init__.py
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
'''
|
|
2
|
+
diff-set
|
|
3
|
+
|
|
4
|
+
A backend-agnostic diff engine for comparing two datasets and determining
|
|
5
|
+
which records are new, changed, or deleted. Designed for syncing external
|
|
6
|
+
systems or performing pure comparison.
|
|
7
|
+
|
|
8
|
+
Primary API:
|
|
9
|
+
diff() — compute differences between source and target datasets.
|
|
10
|
+
'''
|
|
11
|
+
|
|
12
|
+
from .diff import diff
|
|
13
|
+
from .models import (
|
|
14
|
+
DiffError,
|
|
15
|
+
DataTypeMismatchError,
|
|
16
|
+
MissingColumnError,
|
|
17
|
+
NewItem,
|
|
18
|
+
ChangedItem,
|
|
19
|
+
DeletedItem,
|
|
20
|
+
DiffResult,
|
|
21
|
+
)
|
|
22
|
+
|
|
23
|
+
__all__ = [
|
|
24
|
+
'diff',
|
|
25
|
+
'DiffError',
|
|
26
|
+
'DataTypeMismatchError',
|
|
27
|
+
'MissingColumnError',
|
|
28
|
+
'NewItem',
|
|
29
|
+
'ChangedItem',
|
|
30
|
+
'DeletedItem',
|
|
31
|
+
'DiffResult',
|
|
32
|
+
]
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: diff-set
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: A backend-agnostic diff engine for comparing and synchronizing datasets.
|
|
5
|
+
Project-URL: Homepage, https://github.com/tolerl1/diff-set
|
|
6
|
+
Project-URL: Source, https://github.com/tolerl1/diff-set
|
|
7
|
+
Author-email: Logan <log@ntoler.dev>
|
|
8
|
+
License-Expression: MIT
|
|
9
|
+
License-File: LICENSE
|
|
10
|
+
Requires-Python: >=3.11
|
|
11
|
+
Provides-Extra: dev
|
|
12
|
+
Requires-Dist: mypy; extra == 'dev'
|
|
13
|
+
Requires-Dist: pre-commit; extra == 'dev'
|
|
14
|
+
Requires-Dist: pytest; extra == 'dev'
|
|
15
|
+
Requires-Dist: ruff; extra == 'dev'
|
|
16
|
+
Description-Content-Type: text/markdown
|
|
17
|
+
|
|
18
|
+
# diff-set
|
|
19
|
+
A backend-agnostic diff engine for comparing and synchronizing datasets.
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
diff_set/__init__.py,sha256=9GzPf2poy60sdgYO6rgpJv4RFdKTBcqU1g8cwJGcTrQ,592
|
|
2
|
+
diff_set-0.1.0.dist-info/METADATA,sha256=WrD1aKYg0dDL_A9WGkZbO3FxrncCTzNWc-zw0x8tF4g,654
|
|
3
|
+
diff_set-0.1.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
4
|
+
diff_set-0.1.0.dist-info/licenses/LICENSE,sha256=V5Iq81D7pSDV0R6FpzV-6XWpIsC8TE9KBt70PCU1HUY,1061
|
|
5
|
+
diff_set-0.1.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2015 Logan
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|