1
0
Fork 0
mirror of https://github.com/qurator-spk/modstool.git synced 2025-06-09 11:49:55 +02:00
Commit graph

96 commits

Author SHA1 Message Date
187da054b0 ⚙ Migrate to pyproject.toml 2024-07-25 12:45:22 +02:00
acd9c5cd4b Merge branch 'feat/page_info' of https://github.com/qurator-spk/mods4pandas into feat/page_info 2024-07-25 12:01:49 +02:00
515d39bb1d 🚧 Workaround NumPy incompatibility by requiring < 2 2024-07-25 12:01:35 +02:00
e9fca0f563 🐛 mods4pandas: Handle MultiVolumeWork (differently spelled type cp. to before) without structMap TYPE='PHYSICAL' 2023-12-12 13:33:05 +01:00
b8a2872582 🐛 mods4pandas: Handle periodical without structMap TYPE='PHYSICAL' 2023-12-12 13:13:23 +01:00
6226618f40 🐛 mods4pandas: Handle multivolume_work without structMap TYPE='PHYSICAL' 2023-12-12 12:34:24 +01:00
0acaa83163 MUse relative predicate 2023-12-09 12:48:07 +01:00
8fc4eeeb3b Make get_sets_file faster by using a lookup table 2023-12-09 12:05:29 +01:00
912e5d2b4a Make get_struct_log faster by using precise predicates 2023-12-09 11:40:45 +01:00
448639b05b Make gettstruct_log faster by using precise predicates 2023-12-09 11:35:24 +01:00
1dac77a2f5 Make gett_struct_log faster by using find(all) instead of xpath() 2023-12-09 10:36:55 +01:00
90c60ebb80 Make get_mets_file aa lot faster by using find() instead of xpath() 2023-12-09 10:24:38 +01:00
16a3a3bcc8 ✔ Fix tests on Python 3.8 by backporting removeprefix 2023-12-09 09:21:10 +01:00
8d0dc72ca2 ✔ Enable/document profiling 2023-12-08 16:28:45 +01:00
8c269b35a4 ✔ Test creation of page_info 2023-12-08 15:58:59 +01:00
f243dd204a ✒ Add comments for populating type indicator variables 2023-11-28 15:47:15 +01:00
ddffb76fb6 🐛 Fix getting parent elements if necessary 2023-11-28 15:47:15 +01:00
c5332ae80d 🚧 Write out page_info 2023-11-28 15:47:15 +01:00
e51fa5750f 🧹 Remove debug noise 2023-11-28 15:47:15 +01:00
b8980bbf25 🧹 page_info: Name structMap type columns a bit more consistently 2023-11-28 15:47:14 +01:00
3ec0f8c62a ✔ CircleCI: Don't test on Python 3.12 yet 2023-11-28 15:47:14 +01:00
e1238259b7 ✔ CircleCI: Don't test on EOL Python 3.6/3.7, but test on 3.11/3.12 2023-11-28 15:47:14 +01:00
3d920f2b50 🐛 Use List/Dict for type annotations to support ye olde Python 2023-11-28 15:47:14 +01:00
968572168e 🧹 Extract a function to convert list[dict] to a DataFrame 2023-11-28 15:47:14 +01:00
5c2dfa8505 ✔ Add another (large) METS example 2023-11-28 15:47:14 +01:00
889d36f0d4 page_info: Retrieve filenames + structMap types 2023-11-28 15:47:13 +01:00
dd3943eaf6 🧹 .gitignore pyenv's .python-version 2023-11-28 15:45:48 +01:00
a769d89d0a 🎨 Rename test_modstool → test_mod4pandas 2023-11-10 17:58:53 +01:00
5238c0600b Merge branch 'master' of https://github.com/qurator-spk/mods4pandas 2023-11-10 17:57:46 +01:00
7def0bccaf 🎨 Reformat test METS/MOTS files (to make them easier to read) 2023-11-10 17:57:37 +01:00
100b2a5e6c 🐛 Fix mods:relatedItem with mods:recordIdentifier source=dnb-ppn
mods:relatedItem may have a mods:recordIdentifier with source="dnb-ppn".
This may happen for digitized works that have their original work in
another library and use a DNB PPN there.

Fixes gh-22.
2023-04-17 19:21:43 +02:00
4e7b8ed642 Convert mods:relatedItem for types original and host
Fixes gh-21.
2023-04-14 12:53:31 +02:00
6d8ba871eb 🎨 Fix link to CircleCI project 2022-07-04 19:34:13 +02:00
1dfdacc5a5 🎨 Rename the Python package to mods4pandas 2022-07-04 19:28:34 +02:00
9c0dce7a04 🎨 Rename modstool to mods4pandas in the last code parts 2022-07-04 19:26:41 +02:00
03d2fc9670 🎨 Rename qurator.modstool to qurator.mods4pandas 2022-07-04 19:24:33 +02:00
3c2e59f0ed 🎨 Rename qurator.modstool to qurator.mods4pandas 2022-07-04 19:11:10 +02:00
1d2c5e2d10 🎨 Rename modstool.py to mods4pandas.py 2022-07-04 18:58:39 +02:00
c48084de93 ➡️ Rename modstool script to mods4pandas 2022-06-29 17:25:39 +02:00
3121621e14 📝 README: Fix typo 2022-06-21 13:16:10 +02:00
83befba3ab 📝 README: Fix markdown 2022-06-21 13:15:14 +02:00
f507370729 📝 README: Add some documentation for alto4pandas 2022-06-21 13:12:44 +02:00
6f2265a619 ✔️ Add test data 2022-06-21 12:54:26 +02:00
c803ce0907 Count all alto:String elements with TAGREFS attribute 2022-06-17 17:59:34 +02:00
a40716a320 ALTO: Count alto:Tags 2022-06-17 17:32:17 +02:00
de50f13043 🚧 alto4pandas: Determine ALTO namespace for group 2022-06-17 17:01:07 +02:00
53a8db955c 🐛 Consistently use lxml for etree 2022-06-16 19:42:44 +02:00
a2fb3ee387 Merge branch 'feat/alto' 2022-06-16 19:29:44 +02:00
21f906ec7d Rename altotool to alto4pandas
See gh-15.
2022-06-16 19:27:59 +02:00
3d2e53f739 ALTO: Extract namespace == ALTO version 2022-06-08 18:25:33 +02:00