DataComparerLibrary 0.853__tar.gz → 0.854__tar.gz
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.
- {datacomparerlibrary-0.853 → datacomparerlibrary-0.854}/PKG-INFO +1 -1
- {datacomparerlibrary-0.853 → datacomparerlibrary-0.854}/pyproject.toml +1 -1
- {datacomparerlibrary-0.853 → datacomparerlibrary-0.854}/src/DataComparerLibrary/field.py +10 -15
- {datacomparerlibrary-0.853 → datacomparerlibrary-0.854}/src/DataComparerLibrary.egg-info/PKG-INFO +1 -1
- {datacomparerlibrary-0.853 → datacomparerlibrary-0.854}/LICENSE.txt +0 -0
- {datacomparerlibrary-0.853 → datacomparerlibrary-0.854}/README.rst +0 -0
- {datacomparerlibrary-0.853 → datacomparerlibrary-0.854}/setup.cfg +0 -0
- {datacomparerlibrary-0.853 → datacomparerlibrary-0.854}/src/DataComparerLibrary/__init__.py +0 -0
- {datacomparerlibrary-0.853 → datacomparerlibrary-0.854}/src/DataComparerLibrary/datacomparer.py +0 -0
- {datacomparerlibrary-0.853 → datacomparerlibrary-0.854}/src/DataComparerLibrary/datasorter.py +0 -0
- {datacomparerlibrary-0.853 → datacomparerlibrary-0.854}/src/DataComparerLibrary/datetimehandler.py +0 -0
- {datacomparerlibrary-0.853 → datacomparerlibrary-0.854}/src/DataComparerLibrary/delimitertranslator.py +0 -0
- {datacomparerlibrary-0.853 → datacomparerlibrary-0.854}/src/DataComparerLibrary/fileconverter.py +0 -0
- {datacomparerlibrary-0.853 → datacomparerlibrary-0.854}/src/DataComparerLibrary/matchstatus.py +0 -0
- {datacomparerlibrary-0.853 → datacomparerlibrary-0.854}/src/DataComparerLibrary/report.py +0 -0
- {datacomparerlibrary-0.853 → datacomparerlibrary-0.854}/src/DataComparerLibrary/row.py +0 -0
- {datacomparerlibrary-0.853 → datacomparerlibrary-0.854}/src/DataComparerLibrary/tools.py +0 -0
- {datacomparerlibrary-0.853 → datacomparerlibrary-0.854}/src/DataComparerLibrary/twodarray.py +0 -0
- {datacomparerlibrary-0.853 → datacomparerlibrary-0.854}/src/DataComparerLibrary.egg-info/SOURCES.txt +0 -0
- {datacomparerlibrary-0.853 → datacomparerlibrary-0.854}/src/DataComparerLibrary.egg-info/dependency_links.txt +0 -0
- {datacomparerlibrary-0.853 → datacomparerlibrary-0.854}/src/DataComparerLibrary.egg-info/requires.txt +0 -0
- {datacomparerlibrary-0.853 → datacomparerlibrary-0.854}/src/DataComparerLibrary.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: DataComparerLibrary
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.854
|
|
4
4
|
Summary: For comparing csv-files, 2d-array with a csv-file or 2d-arrays. For comparing text-files, text variable with a text-file or text variables. Including a sorting module.
|
|
5
5
|
Author-email: René Philip Zuijderduijn <datacomparerlibrary@outlook.com>
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
|
|
|
6
6
|
[project]
|
|
7
7
|
name = "DataComparerLibrary"
|
|
8
8
|
description = "For comparing csv-files, 2d-array with a csv-file or 2d-arrays. For comparing text-files, text variable with a text-file or text variables. Including a sorting module."
|
|
9
|
-
version = "0.
|
|
9
|
+
version = "0.854"
|
|
10
10
|
dependencies = ["python-dateutil"]
|
|
11
11
|
authors = [{ name = "René Philip Zuijderduijn", email = "datacomparerlibrary@outlook.com" }]
|
|
12
12
|
readme = "README.rst"
|
|
@@ -115,21 +115,16 @@ class Field:
|
|
|
115
115
|
skip_exception_rule_used = False
|
|
116
116
|
|
|
117
117
|
if "{SKIP}" in other_field_data_including_templates.upper() or "{DATETIME_FORMAT():YYYYMMDDHHMMSSFF6}" in other_field_data_including_templates.upper():
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
expected_data_with_wildcard = compiled2.sub("*", compiled.sub("*", other_field_data_including_templates))
|
|
129
|
-
#
|
|
130
|
-
if fnmatch.fnmatch(self.field_data, expected_data_with_wildcard):
|
|
131
|
-
skip_exception_rule_used = True
|
|
132
|
-
# continue
|
|
118
|
+
# Part(s) of the actual data field will be skipped for verification.
|
|
119
|
+
# Replace {SKIP}, ignoring cases, by wildcard *.
|
|
120
|
+
# compiled = re.compile(re.escape("{SKIP}"), re.IGNORECASE)
|
|
121
|
+
# expected_data_with_wildcard = compiled.sub("*", other_field_data_including_templates)
|
|
122
|
+
compiled = re.compile(re.escape("{SKIP}"), re.IGNORECASE)
|
|
123
|
+
compiled2 = re.compile(re.escape("{DATETIME_FORMAT():YYYYMMDDHHMMSSFF6}"), re.IGNORECASE)
|
|
124
|
+
expected_data_with_wildcard = compiled2.sub("*", compiled.sub("*", other_field_data_including_templates))
|
|
125
|
+
#
|
|
126
|
+
if fnmatch.fnmatch(self.field_data, expected_data_with_wildcard):
|
|
127
|
+
skip_exception_rule_used = True
|
|
133
128
|
#
|
|
134
129
|
if expected_data_with_wildcard == None:
|
|
135
130
|
# Wildcards not used.
|
{datacomparerlibrary-0.853 → datacomparerlibrary-0.854}/src/DataComparerLibrary.egg-info/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: DataComparerLibrary
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.854
|
|
4
4
|
Summary: For comparing csv-files, 2d-array with a csv-file or 2d-arrays. For comparing text-files, text variable with a text-file or text variables. Including a sorting module.
|
|
5
5
|
Author-email: René Philip Zuijderduijn <datacomparerlibrary@outlook.com>
|
|
6
6
|
License-Expression: Apache-2.0
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{datacomparerlibrary-0.853 → datacomparerlibrary-0.854}/src/DataComparerLibrary/datacomparer.py
RENAMED
|
File without changes
|
{datacomparerlibrary-0.853 → datacomparerlibrary-0.854}/src/DataComparerLibrary/datasorter.py
RENAMED
|
File without changes
|
{datacomparerlibrary-0.853 → datacomparerlibrary-0.854}/src/DataComparerLibrary/datetimehandler.py
RENAMED
|
File without changes
|
|
File without changes
|
{datacomparerlibrary-0.853 → datacomparerlibrary-0.854}/src/DataComparerLibrary/fileconverter.py
RENAMED
|
File without changes
|
{datacomparerlibrary-0.853 → datacomparerlibrary-0.854}/src/DataComparerLibrary/matchstatus.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{datacomparerlibrary-0.853 → datacomparerlibrary-0.854}/src/DataComparerLibrary/twodarray.py
RENAMED
|
File without changes
|
{datacomparerlibrary-0.853 → datacomparerlibrary-0.854}/src/DataComparerLibrary.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|