From 3c2e59f0eda29c378d7376e00b9965d9f6798a57 Mon Sep 17 00:00:00 2001 From: "Gerber, Mike" Date: Mon, 4 Jul 2022 19:11:10 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Rename=20qurator.modstool=20to?= =?UTF-8?q?=20qurator.mods4pandas?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- qurator/{modstool => mods4pandas}/.gitignore | 0 qurator/{modstool => mods4pandas}/__init__.py | 0 qurator/{modstool => mods4pandas}/alto4pandas.py | 0 qurator/{modstool => mods4pandas}/lib.py | 0 qurator/{modstool => mods4pandas}/mods4pandas.py | 0 qurator/{modstool => mods4pandas}/tests/__init__.py | 0 .../tests/data/alto/734008031/00000005.xml | 0 .../tests/data/alto/734008031/00000026.xml | 0 .../tests/data/alto/734008031/00000029.xml | 0 .../tests/data/alto/734008031/00000060.xml | 0 .../tests/data/alto/734008031/00000102.xml | 0 .../tests/data/alto/749782137/00000077.xml | 0 .../tests/data/alto/749782137/00000085.xml | 0 .../tests/data/alto/749782137/00000464.xml | 0 .../tests/data/alto/749782137/00000651.xml | 0 .../tests/data/alto/749782137/00000915.xml | 0 .../tests/data/alto/749782137/00001120.xml | 0 .../tests/data/alto/PPN636777308/00000002.xml | 0 .../tests/data/alto/PPN640992293/00000017.xml | 0 .../tests/data/alto/PPN715049151/00000017.xml | 0 .../tests/data/alto/PPN767883624/00000001.xml | 0 .../tests/data/alto/PPN767883624/00000002.xml | 0 .../tests/data/alto/PPN895016346/00000022.xml | 0 .../tests/data/alto/alto-ner/00000046.xml | 0 .../tests/data/alto/alto-ner/00000102.xml | 0 .../tests/data/alto/alto-ner/00000217.xml | 0 .../tests/data/alto/weird-ns/00000007.xml | 0 .../tests/data/mets-mods/PPN1678618276.xml | 0 .../tests/data/mets-mods/PPN1727545451.xml | 0 .../tests/data/mets-mods/PPN1737752050.xml | 0 .../tests/data/mets-mods/PPN1769395962.xml | 0 .../data/mets-mods/PPN3348760607-mehrere-shelfLocator.xml | 0 .../tests/data/mets-mods/PPN773555676.xml | 0 qurator/{modstool => mods4pandas}/tests/test_alto.py | 4 ++-- qurator/{modstool => mods4pandas}/tests/test_mets.py | 4 ++-- qurator/{modstool => mods4pandas}/tests/test_modstool.py | 4 ++-- 36 files changed, 6 insertions(+), 6 deletions(-) rename qurator/{modstool => mods4pandas}/.gitignore (100%) rename qurator/{modstool => mods4pandas}/__init__.py (100%) rename qurator/{modstool => mods4pandas}/alto4pandas.py (100%) rename qurator/{modstool => mods4pandas}/lib.py (100%) rename qurator/{modstool => mods4pandas}/mods4pandas.py (100%) rename qurator/{modstool => mods4pandas}/tests/__init__.py (100%) rename qurator/{modstool => mods4pandas}/tests/data/alto/734008031/00000005.xml (100%) rename qurator/{modstool => mods4pandas}/tests/data/alto/734008031/00000026.xml (100%) rename qurator/{modstool => mods4pandas}/tests/data/alto/734008031/00000029.xml (100%) rename qurator/{modstool => mods4pandas}/tests/data/alto/734008031/00000060.xml (100%) rename qurator/{modstool => mods4pandas}/tests/data/alto/734008031/00000102.xml (100%) rename qurator/{modstool => mods4pandas}/tests/data/alto/749782137/00000077.xml (100%) rename qurator/{modstool => mods4pandas}/tests/data/alto/749782137/00000085.xml (100%) rename qurator/{modstool => mods4pandas}/tests/data/alto/749782137/00000464.xml (100%) rename qurator/{modstool => mods4pandas}/tests/data/alto/749782137/00000651.xml (100%) rename qurator/{modstool => mods4pandas}/tests/data/alto/749782137/00000915.xml (100%) rename qurator/{modstool => mods4pandas}/tests/data/alto/749782137/00001120.xml (100%) rename qurator/{modstool => mods4pandas}/tests/data/alto/PPN636777308/00000002.xml (100%) rename qurator/{modstool => mods4pandas}/tests/data/alto/PPN640992293/00000017.xml (100%) rename qurator/{modstool => mods4pandas}/tests/data/alto/PPN715049151/00000017.xml (100%) rename qurator/{modstool => mods4pandas}/tests/data/alto/PPN767883624/00000001.xml (100%) rename qurator/{modstool => mods4pandas}/tests/data/alto/PPN767883624/00000002.xml (100%) rename qurator/{modstool => mods4pandas}/tests/data/alto/PPN895016346/00000022.xml (100%) rename qurator/{modstool => mods4pandas}/tests/data/alto/alto-ner/00000046.xml (100%) rename qurator/{modstool => mods4pandas}/tests/data/alto/alto-ner/00000102.xml (100%) rename qurator/{modstool => mods4pandas}/tests/data/alto/alto-ner/00000217.xml (100%) rename qurator/{modstool => mods4pandas}/tests/data/alto/weird-ns/00000007.xml (100%) rename qurator/{modstool => mods4pandas}/tests/data/mets-mods/PPN1678618276.xml (100%) rename qurator/{modstool => mods4pandas}/tests/data/mets-mods/PPN1727545451.xml (100%) rename qurator/{modstool => mods4pandas}/tests/data/mets-mods/PPN1737752050.xml (100%) rename qurator/{modstool => mods4pandas}/tests/data/mets-mods/PPN1769395962.xml (100%) rename qurator/{modstool => mods4pandas}/tests/data/mets-mods/PPN3348760607-mehrere-shelfLocator.xml (100%) rename qurator/{modstool => mods4pandas}/tests/data/mets-mods/PPN773555676.xml (100%) rename qurator/{modstool => mods4pandas}/tests/test_alto.py (94%) rename qurator/{modstool => mods4pandas}/tests/test_mets.py (92%) rename qurator/{modstool => mods4pandas}/tests/test_modstool.py (97%) diff --git a/qurator/modstool/.gitignore b/qurator/mods4pandas/.gitignore similarity index 100% rename from qurator/modstool/.gitignore rename to qurator/mods4pandas/.gitignore diff --git a/qurator/modstool/__init__.py b/qurator/mods4pandas/__init__.py similarity index 100% rename from qurator/modstool/__init__.py rename to qurator/mods4pandas/__init__.py diff --git a/qurator/modstool/alto4pandas.py b/qurator/mods4pandas/alto4pandas.py similarity index 100% rename from qurator/modstool/alto4pandas.py rename to qurator/mods4pandas/alto4pandas.py diff --git a/qurator/modstool/lib.py b/qurator/mods4pandas/lib.py similarity index 100% rename from qurator/modstool/lib.py rename to qurator/mods4pandas/lib.py diff --git a/qurator/modstool/mods4pandas.py b/qurator/mods4pandas/mods4pandas.py similarity index 100% rename from qurator/modstool/mods4pandas.py rename to qurator/mods4pandas/mods4pandas.py diff --git a/qurator/modstool/tests/__init__.py b/qurator/mods4pandas/tests/__init__.py similarity index 100% rename from qurator/modstool/tests/__init__.py rename to qurator/mods4pandas/tests/__init__.py diff --git a/qurator/modstool/tests/data/alto/734008031/00000005.xml b/qurator/mods4pandas/tests/data/alto/734008031/00000005.xml similarity index 100% rename from qurator/modstool/tests/data/alto/734008031/00000005.xml rename to qurator/mods4pandas/tests/data/alto/734008031/00000005.xml diff --git a/qurator/modstool/tests/data/alto/734008031/00000026.xml b/qurator/mods4pandas/tests/data/alto/734008031/00000026.xml similarity index 100% rename from qurator/modstool/tests/data/alto/734008031/00000026.xml rename to qurator/mods4pandas/tests/data/alto/734008031/00000026.xml diff --git a/qurator/modstool/tests/data/alto/734008031/00000029.xml b/qurator/mods4pandas/tests/data/alto/734008031/00000029.xml similarity index 100% rename from qurator/modstool/tests/data/alto/734008031/00000029.xml rename to qurator/mods4pandas/tests/data/alto/734008031/00000029.xml diff --git a/qurator/modstool/tests/data/alto/734008031/00000060.xml b/qurator/mods4pandas/tests/data/alto/734008031/00000060.xml similarity index 100% rename from qurator/modstool/tests/data/alto/734008031/00000060.xml rename to qurator/mods4pandas/tests/data/alto/734008031/00000060.xml diff --git a/qurator/modstool/tests/data/alto/734008031/00000102.xml b/qurator/mods4pandas/tests/data/alto/734008031/00000102.xml similarity index 100% rename from qurator/modstool/tests/data/alto/734008031/00000102.xml rename to qurator/mods4pandas/tests/data/alto/734008031/00000102.xml diff --git a/qurator/modstool/tests/data/alto/749782137/00000077.xml b/qurator/mods4pandas/tests/data/alto/749782137/00000077.xml similarity index 100% rename from qurator/modstool/tests/data/alto/749782137/00000077.xml rename to qurator/mods4pandas/tests/data/alto/749782137/00000077.xml diff --git a/qurator/modstool/tests/data/alto/749782137/00000085.xml b/qurator/mods4pandas/tests/data/alto/749782137/00000085.xml similarity index 100% rename from qurator/modstool/tests/data/alto/749782137/00000085.xml rename to qurator/mods4pandas/tests/data/alto/749782137/00000085.xml diff --git a/qurator/modstool/tests/data/alto/749782137/00000464.xml b/qurator/mods4pandas/tests/data/alto/749782137/00000464.xml similarity index 100% rename from qurator/modstool/tests/data/alto/749782137/00000464.xml rename to qurator/mods4pandas/tests/data/alto/749782137/00000464.xml diff --git a/qurator/modstool/tests/data/alto/749782137/00000651.xml b/qurator/mods4pandas/tests/data/alto/749782137/00000651.xml similarity index 100% rename from qurator/modstool/tests/data/alto/749782137/00000651.xml rename to qurator/mods4pandas/tests/data/alto/749782137/00000651.xml diff --git a/qurator/modstool/tests/data/alto/749782137/00000915.xml b/qurator/mods4pandas/tests/data/alto/749782137/00000915.xml similarity index 100% rename from qurator/modstool/tests/data/alto/749782137/00000915.xml rename to qurator/mods4pandas/tests/data/alto/749782137/00000915.xml diff --git a/qurator/modstool/tests/data/alto/749782137/00001120.xml b/qurator/mods4pandas/tests/data/alto/749782137/00001120.xml similarity index 100% rename from qurator/modstool/tests/data/alto/749782137/00001120.xml rename to qurator/mods4pandas/tests/data/alto/749782137/00001120.xml diff --git a/qurator/modstool/tests/data/alto/PPN636777308/00000002.xml b/qurator/mods4pandas/tests/data/alto/PPN636777308/00000002.xml similarity index 100% rename from qurator/modstool/tests/data/alto/PPN636777308/00000002.xml rename to qurator/mods4pandas/tests/data/alto/PPN636777308/00000002.xml diff --git a/qurator/modstool/tests/data/alto/PPN640992293/00000017.xml b/qurator/mods4pandas/tests/data/alto/PPN640992293/00000017.xml similarity index 100% rename from qurator/modstool/tests/data/alto/PPN640992293/00000017.xml rename to qurator/mods4pandas/tests/data/alto/PPN640992293/00000017.xml diff --git a/qurator/modstool/tests/data/alto/PPN715049151/00000017.xml b/qurator/mods4pandas/tests/data/alto/PPN715049151/00000017.xml similarity index 100% rename from qurator/modstool/tests/data/alto/PPN715049151/00000017.xml rename to qurator/mods4pandas/tests/data/alto/PPN715049151/00000017.xml diff --git a/qurator/modstool/tests/data/alto/PPN767883624/00000001.xml b/qurator/mods4pandas/tests/data/alto/PPN767883624/00000001.xml similarity index 100% rename from qurator/modstool/tests/data/alto/PPN767883624/00000001.xml rename to qurator/mods4pandas/tests/data/alto/PPN767883624/00000001.xml diff --git a/qurator/modstool/tests/data/alto/PPN767883624/00000002.xml b/qurator/mods4pandas/tests/data/alto/PPN767883624/00000002.xml similarity index 100% rename from qurator/modstool/tests/data/alto/PPN767883624/00000002.xml rename to qurator/mods4pandas/tests/data/alto/PPN767883624/00000002.xml diff --git a/qurator/modstool/tests/data/alto/PPN895016346/00000022.xml b/qurator/mods4pandas/tests/data/alto/PPN895016346/00000022.xml similarity index 100% rename from qurator/modstool/tests/data/alto/PPN895016346/00000022.xml rename to qurator/mods4pandas/tests/data/alto/PPN895016346/00000022.xml diff --git a/qurator/modstool/tests/data/alto/alto-ner/00000046.xml b/qurator/mods4pandas/tests/data/alto/alto-ner/00000046.xml similarity index 100% rename from qurator/modstool/tests/data/alto/alto-ner/00000046.xml rename to qurator/mods4pandas/tests/data/alto/alto-ner/00000046.xml diff --git a/qurator/modstool/tests/data/alto/alto-ner/00000102.xml b/qurator/mods4pandas/tests/data/alto/alto-ner/00000102.xml similarity index 100% rename from qurator/modstool/tests/data/alto/alto-ner/00000102.xml rename to qurator/mods4pandas/tests/data/alto/alto-ner/00000102.xml diff --git a/qurator/modstool/tests/data/alto/alto-ner/00000217.xml b/qurator/mods4pandas/tests/data/alto/alto-ner/00000217.xml similarity index 100% rename from qurator/modstool/tests/data/alto/alto-ner/00000217.xml rename to qurator/mods4pandas/tests/data/alto/alto-ner/00000217.xml diff --git a/qurator/modstool/tests/data/alto/weird-ns/00000007.xml b/qurator/mods4pandas/tests/data/alto/weird-ns/00000007.xml similarity index 100% rename from qurator/modstool/tests/data/alto/weird-ns/00000007.xml rename to qurator/mods4pandas/tests/data/alto/weird-ns/00000007.xml diff --git a/qurator/modstool/tests/data/mets-mods/PPN1678618276.xml b/qurator/mods4pandas/tests/data/mets-mods/PPN1678618276.xml similarity index 100% rename from qurator/modstool/tests/data/mets-mods/PPN1678618276.xml rename to qurator/mods4pandas/tests/data/mets-mods/PPN1678618276.xml diff --git a/qurator/modstool/tests/data/mets-mods/PPN1727545451.xml b/qurator/mods4pandas/tests/data/mets-mods/PPN1727545451.xml similarity index 100% rename from qurator/modstool/tests/data/mets-mods/PPN1727545451.xml rename to qurator/mods4pandas/tests/data/mets-mods/PPN1727545451.xml diff --git a/qurator/modstool/tests/data/mets-mods/PPN1737752050.xml b/qurator/mods4pandas/tests/data/mets-mods/PPN1737752050.xml similarity index 100% rename from qurator/modstool/tests/data/mets-mods/PPN1737752050.xml rename to qurator/mods4pandas/tests/data/mets-mods/PPN1737752050.xml diff --git a/qurator/modstool/tests/data/mets-mods/PPN1769395962.xml b/qurator/mods4pandas/tests/data/mets-mods/PPN1769395962.xml similarity index 100% rename from qurator/modstool/tests/data/mets-mods/PPN1769395962.xml rename to qurator/mods4pandas/tests/data/mets-mods/PPN1769395962.xml diff --git a/qurator/modstool/tests/data/mets-mods/PPN3348760607-mehrere-shelfLocator.xml b/qurator/mods4pandas/tests/data/mets-mods/PPN3348760607-mehrere-shelfLocator.xml similarity index 100% rename from qurator/modstool/tests/data/mets-mods/PPN3348760607-mehrere-shelfLocator.xml rename to qurator/mods4pandas/tests/data/mets-mods/PPN3348760607-mehrere-shelfLocator.xml diff --git a/qurator/modstool/tests/data/mets-mods/PPN773555676.xml b/qurator/mods4pandas/tests/data/mets-mods/PPN773555676.xml similarity index 100% rename from qurator/modstool/tests/data/mets-mods/PPN773555676.xml rename to qurator/mods4pandas/tests/data/mets-mods/PPN773555676.xml diff --git a/qurator/modstool/tests/test_alto.py b/qurator/mods4pandas/tests/test_alto.py similarity index 94% rename from qurator/modstool/tests/test_alto.py rename to qurator/mods4pandas/tests/test_alto.py index 509d24a..2758061 100644 --- a/qurator/modstool/tests/test_alto.py +++ b/qurator/mods4pandas/tests/test_alto.py @@ -1,8 +1,8 @@ from lxml import etree as ET -from qurator.modstool.alto4pandas import alto_to_dict -from qurator.modstool.lib import flatten +from qurator.mods4pandas.alto4pandas import alto_to_dict +from qurator.mods4pandas.lib import flatten def dict_fromstring(x): diff --git a/qurator/modstool/tests/test_mets.py b/qurator/mods4pandas/tests/test_mets.py similarity index 92% rename from qurator/modstool/tests/test_mets.py rename to qurator/mods4pandas/tests/test_mets.py index e6e6fb0..5e4c118 100644 --- a/qurator/modstool/tests/test_mets.py +++ b/qurator/mods4pandas/tests/test_mets.py @@ -1,8 +1,8 @@ from lxml import etree as ET -from qurator.modstool.mods4pandas import mets_to_dict -from qurator.modstool.lib import flatten +from qurator.mods4pandas.mods4pandas import mets_to_dict +from qurator.mods4pandas.lib import flatten def dict_fromstring(x): diff --git a/qurator/modstool/tests/test_modstool.py b/qurator/mods4pandas/tests/test_modstool.py similarity index 97% rename from qurator/modstool/tests/test_modstool.py rename to qurator/mods4pandas/tests/test_modstool.py index ec96439..37355eb 100644 --- a/qurator/modstool/tests/test_modstool.py +++ b/qurator/mods4pandas/tests/test_modstool.py @@ -3,8 +3,8 @@ from lxml import etree as ET import pytest -from qurator.modstool.mods4pandas import mods_to_dict -from qurator.modstool.lib import flatten +from qurator.mods4pandas.mods4pandas import mods_to_dict +from qurator.mods4pandas.lib import flatten def dict_fromstring(x):