dedupmarcxml 1.2.4__tar.gz → 1.2.7__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.
- {dedupmarcxml-1.2.4 → dedupmarcxml-1.2.7}/PKG-INFO +2 -2
- {dedupmarcxml-1.2.4 → dedupmarcxml-1.2.7}/dedupmarcxml/briefrecord.py +3 -2
- dedupmarcxml-1.2.7/dedupmarcxml/version.py +2 -0
- {dedupmarcxml-1.2.4 → dedupmarcxml-1.2.7}/dedupmarcxml.egg-info/PKG-INFO +2 -2
- {dedupmarcxml-1.2.4 → dedupmarcxml-1.2.7}/pyproject.toml +2 -2
- dedupmarcxml-1.2.4/dedupmarcxml/version.py +0 -2
- {dedupmarcxml-1.2.4 → dedupmarcxml-1.2.7}/README.rst +0 -0
- {dedupmarcxml-1.2.4 → dedupmarcxml-1.2.7}/dedupmarcxml/__init__.py +0 -0
- {dedupmarcxml-1.2.4 → dedupmarcxml-1.2.7}/dedupmarcxml/data/editions_data.pickle +0 -0
- {dedupmarcxml-1.2.4 → dedupmarcxml-1.2.7}/dedupmarcxml/data/mlp_classifier_book_model.pickle +0 -0
- {dedupmarcxml-1.2.4 → dedupmarcxml-1.2.7}/dedupmarcxml/data/publishers_data.pickle +0 -0
- {dedupmarcxml-1.2.4 → dedupmarcxml-1.2.7}/dedupmarcxml/data/randomforest_book_model.pickle +0 -0
- {dedupmarcxml-1.2.4 → dedupmarcxml-1.2.7}/dedupmarcxml/data/randomforest_general_model.pickle +0 -0
- {dedupmarcxml-1.2.4 → dedupmarcxml-1.2.7}/dedupmarcxml/data/randomforest_music_model.pickle +0 -0
- {dedupmarcxml-1.2.4 → dedupmarcxml-1.2.7}/dedupmarcxml/evaluate.py +0 -0
- {dedupmarcxml-1.2.4 → dedupmarcxml-1.2.7}/dedupmarcxml/score/__init__.py +0 -0
- {dedupmarcxml-1.2.4 → dedupmarcxml-1.2.7}/dedupmarcxml/score/editions.py +0 -0
- {dedupmarcxml-1.2.4 → dedupmarcxml-1.2.7}/dedupmarcxml/score/extent.py +0 -0
- {dedupmarcxml-1.2.4 → dedupmarcxml-1.2.7}/dedupmarcxml/score/methods.py +0 -0
- {dedupmarcxml-1.2.4 → dedupmarcxml-1.2.7}/dedupmarcxml/score/names.py +0 -0
- {dedupmarcxml-1.2.4 → dedupmarcxml-1.2.7}/dedupmarcxml/score/publishers.py +0 -0
- {dedupmarcxml-1.2.4 → dedupmarcxml-1.2.7}/dedupmarcxml/tools.py +0 -0
- {dedupmarcxml-1.2.4 → dedupmarcxml-1.2.7}/dedupmarcxml.egg-info/SOURCES.txt +0 -0
- {dedupmarcxml-1.2.4 → dedupmarcxml-1.2.7}/dedupmarcxml.egg-info/dependency_links.txt +0 -0
- {dedupmarcxml-1.2.4 → dedupmarcxml-1.2.7}/dedupmarcxml.egg-info/requires.txt +0 -0
- {dedupmarcxml-1.2.4 → dedupmarcxml-1.2.7}/dedupmarcxml.egg-info/top_level.txt +0 -0
- {dedupmarcxml-1.2.4 → dedupmarcxml-1.2.7}/license.txt +0 -0
- {dedupmarcxml-1.2.4 → dedupmarcxml-1.2.7}/setup.cfg +0 -0
- {dedupmarcxml-1.2.4 → dedupmarcxml-1.2.7}/tests/test_briefrecord.py +0 -0
- {dedupmarcxml-1.2.4 → dedupmarcxml-1.2.7}/tests/test_score.py +0 -0
- {dedupmarcxml-1.2.4 → dedupmarcxml-1.2.7}/tests/test_score_editions.py +0 -0
- {dedupmarcxml-1.2.4 → dedupmarcxml-1.2.7}/tests/test_score_extent.py +0 -0
- {dedupmarcxml-1.2.4 → dedupmarcxml-1.2.7}/tests/test_score_names.py +0 -0
- {dedupmarcxml-1.2.4 → dedupmarcxml-1.2.7}/tests/test_score_publishers.py +0 -0
- {dedupmarcxml-1.2.4 → dedupmarcxml-1.2.7}/tests/test_tools.py +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: dedupmarcxml
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.7
|
|
4
4
|
Summary: This python module is a tool to dedup MarcXML records.
|
|
5
5
|
Author-email: Raphaël Rey <raphael.rey@slsp.ch>
|
|
6
|
+
License-Expression: GPL-3.0-only
|
|
6
7
|
Project-URL: Homepage, https://github.com/Swiss-Library-Service-Platform/dedupmarcxml
|
|
7
8
|
Project-URL: Bug Tracker, https://github.com/Swiss-Library-Service-Platform/dedupmarcxml/issues
|
|
8
9
|
Classifier: Programming Language :: Python :: 3
|
|
9
|
-
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
|
|
10
10
|
Classifier: Operating System :: OS Independent
|
|
11
11
|
Requires-Python: >=3.9
|
|
12
12
|
Description-Content-Type: text/x-rst
|
|
@@ -793,7 +793,7 @@ class BriefRecFactory(ABC):
|
|
|
793
793
|
|
|
794
794
|
:param bib: :class:`etree.Element`
|
|
795
795
|
|
|
796
|
-
:return: boolean indicating whether the record is a
|
|
796
|
+
:return: boolean indicating whether the record is a Braille document
|
|
797
797
|
"""
|
|
798
798
|
leader6 = cls.get_leader_pos67(bib)[0]
|
|
799
799
|
f008 = cls.find(bib,'008')
|
|
@@ -802,7 +802,8 @@ class BriefRecFactory(ABC):
|
|
|
802
802
|
|
|
803
803
|
if f336b is not None and f336b == 'tct':
|
|
804
804
|
return True
|
|
805
|
-
|
|
805
|
+
if f008 is None:
|
|
806
|
+
return False
|
|
806
807
|
if len(f008) > format_pos:
|
|
807
808
|
return f008[format_pos] in 'f'
|
|
808
809
|
return False
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: dedupmarcxml
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.7
|
|
4
4
|
Summary: This python module is a tool to dedup MarcXML records.
|
|
5
5
|
Author-email: Raphaël Rey <raphael.rey@slsp.ch>
|
|
6
|
+
License-Expression: GPL-3.0-only
|
|
6
7
|
Project-URL: Homepage, https://github.com/Swiss-Library-Service-Platform/dedupmarcxml
|
|
7
8
|
Project-URL: Bug Tracker, https://github.com/Swiss-Library-Service-Platform/dedupmarcxml/issues
|
|
8
9
|
Classifier: Programming Language :: Python :: 3
|
|
9
|
-
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
|
|
10
10
|
Classifier: Operating System :: OS Independent
|
|
11
11
|
Requires-Python: >=3.9
|
|
12
12
|
Description-Content-Type: text/x-rst
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "dedupmarcxml"
|
|
3
|
-
version = "1.2.
|
|
3
|
+
version = "1.2.7"
|
|
4
4
|
authors = [
|
|
5
5
|
{name="Raphaël Rey", email="raphael.rey@slsp.ch" },
|
|
6
6
|
]
|
|
7
7
|
description = "This python module is a tool to dedup MarcXML records."
|
|
8
8
|
readme = "readme.rst"
|
|
9
|
+
license = "GPL-3.0-only"
|
|
9
10
|
requires-python = ">=3.9"
|
|
10
11
|
classifiers = [
|
|
11
12
|
"Programming Language :: Python :: 3",
|
|
12
|
-
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
|
|
13
13
|
"Operating System :: OS Independent",
|
|
14
14
|
]
|
|
15
15
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dedupmarcxml-1.2.4 → dedupmarcxml-1.2.7}/dedupmarcxml/data/mlp_classifier_book_model.pickle
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dedupmarcxml-1.2.4 → dedupmarcxml-1.2.7}/dedupmarcxml/data/randomforest_general_model.pickle
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|