invenio-subjects-mesh-lite 2024.3.2__tar.gz → 2025.1.15__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.
- invenio_subjects_mesh_lite-2025.1.15/CHANGES.md +21 -0
- {invenio-subjects-mesh-lite-2024.3.2/invenio_subjects_mesh_lite.egg-info → invenio_subjects_mesh_lite-2025.1.15}/PKG-INFO +26 -11
- {invenio-subjects-mesh-lite-2024.3.2 → invenio_subjects_mesh_lite-2025.1.15}/README.md +19 -5
- {invenio-subjects-mesh-lite-2024.3.2 → invenio_subjects_mesh_lite-2025.1.15}/invenio_subjects_mesh_lite/vocabularies/subjects_mesh.csv +30361 -30173
- {invenio-subjects-mesh-lite-2024.3.2 → invenio_subjects_mesh_lite-2025.1.15/invenio_subjects_mesh_lite.egg-info}/PKG-INFO +26 -11
- {invenio-subjects-mesh-lite-2024.3.2 → invenio_subjects_mesh_lite-2025.1.15}/invenio_subjects_mesh_lite.egg-info/requires.txt +2 -1
- {invenio-subjects-mesh-lite-2024.3.2 → invenio_subjects_mesh_lite-2025.1.15}/pyproject.toml +7 -5
- invenio-subjects-mesh-lite-2024.3.2/CHANGES.md +0 -9
- {invenio-subjects-mesh-lite-2024.3.2 → invenio_subjects_mesh_lite-2025.1.15}/LICENSE +0 -0
- {invenio-subjects-mesh-lite-2024.3.2 → invenio_subjects_mesh_lite-2025.1.15}/MANIFEST.in +0 -0
- {invenio-subjects-mesh-lite-2024.3.2 → invenio_subjects_mesh_lite-2025.1.15}/invenio_subjects_mesh_lite/__init__.py +0 -0
- {invenio-subjects-mesh-lite-2024.3.2 → invenio_subjects_mesh_lite-2025.1.15}/invenio_subjects_mesh_lite/vocabularies/__init__.py +0 -0
- {invenio-subjects-mesh-lite-2024.3.2 → invenio_subjects_mesh_lite-2025.1.15}/invenio_subjects_mesh_lite/vocabularies/vocabularies.yaml +0 -0
- {invenio-subjects-mesh-lite-2024.3.2 → invenio_subjects_mesh_lite-2025.1.15}/invenio_subjects_mesh_lite.egg-info/SOURCES.txt +0 -0
- {invenio-subjects-mesh-lite-2024.3.2 → invenio_subjects_mesh_lite-2025.1.15}/invenio_subjects_mesh_lite.egg-info/dependency_links.txt +0 -0
- {invenio-subjects-mesh-lite-2024.3.2 → invenio_subjects_mesh_lite-2025.1.15}/invenio_subjects_mesh_lite.egg-info/entry_points.txt +0 -0
- {invenio-subjects-mesh-lite-2024.3.2 → invenio_subjects_mesh_lite-2025.1.15}/invenio_subjects_mesh_lite.egg-info/top_level.txt +0 -0
- {invenio-subjects-mesh-lite-2024.3.2 → invenio_subjects_mesh_lite-2025.1.15}/setup.cfg +0 -0
- {invenio-subjects-mesh-lite-2024.3.2 → invenio_subjects_mesh_lite-2025.1.15}/tests/test_invenio_subjects_mesh_lite.py +0 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Changes
|
|
2
|
+
|
|
3
|
+
Version 2025.1.15 (released 2025-01-15)
|
|
4
|
+
|
|
5
|
+
- MeSH 2025
|
|
6
|
+
|
|
7
|
+
Version 2024.3.6 (released 2024-08-09)
|
|
8
|
+
|
|
9
|
+
- make compatible with InvenioRDM v12
|
|
10
|
+
|
|
11
|
+
Version 2024.3.5 (released 2024-05-22)
|
|
12
|
+
|
|
13
|
+
- patch fix from galter-subjects-utils
|
|
14
|
+
|
|
15
|
+
Version 2023.1.4 (released 2023-11-7)
|
|
16
|
+
|
|
17
|
+
- Polished release
|
|
18
|
+
|
|
19
|
+
Version 0.1.0 (released 2023-10-30)
|
|
20
|
+
|
|
21
|
+
- Initial public release.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
2
|
Name: invenio-subjects-mesh-lite
|
|
3
|
-
Version:
|
|
3
|
+
Version: 2025.1.15
|
|
4
4
|
Summary: MeSH subject terms without qualifiers
|
|
5
5
|
Author-email: Northwestern University <DL_FSM_GDS@e.northwestern.edu>
|
|
6
6
|
License: MIT License
|
|
@@ -35,15 +35,16 @@ Classifier: Programming Language :: Python
|
|
|
35
35
|
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
|
|
36
36
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
37
37
|
Classifier: Programming Language :: Python :: 3
|
|
38
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
39
38
|
Classifier: Programming Language :: Python :: 3.9
|
|
40
|
-
Classifier: Programming Language :: Python :: 3.
|
|
41
|
-
|
|
39
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
40
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
41
|
+
Requires-Python: >=3.9
|
|
42
42
|
Description-Content-Type: text/markdown
|
|
43
43
|
License-File: LICENSE
|
|
44
|
-
Requires-Dist: galter-subjects-utils<2.0,>=0.
|
|
44
|
+
Requires-Dist: galter-subjects-utils<2.0,>=0.4.2
|
|
45
45
|
Provides-Extra: dev
|
|
46
46
|
Requires-Dist: check-manifest>=0.49; extra == "dev"
|
|
47
|
+
Requires-Dist: invenio-search[opensearch2]<3.0,>=2.1.0; extra == "dev"
|
|
47
48
|
Requires-Dist: invoke<3.0,>=2.2; extra == "dev"
|
|
48
49
|
Requires-Dist: pyyaml>=5.4.1; extra == "dev"
|
|
49
50
|
Requires-Dist: pytest-invenio<3.0.0,>=2.1.1; extra == "dev"
|
|
@@ -52,6 +53,10 @@ Requires-Dist: pytest-invenio<3.0.0,>=2.1.1; extra == "dev"
|
|
|
52
53
|
|
|
53
54
|
*MeSH topical subject terms without qualifiers for InvenioRDM*
|
|
54
55
|
|
|
56
|
+
<a href="https://pypi.org/project/invenio-subjects-mesh-lite/">
|
|
57
|
+
<img src="https://img.shields.io/pypi/v/invenio-subjects-mesh-lite.svg">
|
|
58
|
+
</a>
|
|
59
|
+
|
|
55
60
|
Install this extension to get Medical Subject Headings topics without qualifiers into your instance.
|
|
56
61
|
|
|
57
62
|
If you are looking for a larger MeSH vocabulary with qualifiers, use
|
|
@@ -84,11 +89,11 @@ table will be provided to indicate version cross-compatibility.
|
|
|
84
89
|
|
|
85
90
|
## Usage
|
|
86
91
|
|
|
87
|
-
There are 2 types of users for this package. Instance
|
|
92
|
+
There are 2 types of users for this package. Instance operators and package maintainers.
|
|
88
93
|
|
|
89
|
-
### Instance
|
|
94
|
+
### Instance operators
|
|
90
95
|
|
|
91
|
-
For instance
|
|
96
|
+
For instance operators, after you have installed the extension as per the steps above, you will want to reload your instance's fixtures: `pipenv run invenio rdm-records fixtures`. This will install the new terms in your instance.
|
|
92
97
|
|
|
93
98
|
Alternatively, or if you want to update your already loaded subjects to a new listing (e.g. from one year's list to another), you can update your instance's MeSH subjects as per below. Updating subjects this way takes care of everything for you: the subjects themselves and the records/drafts using those subjects. **WARNING** This operation can _remove_ subjects.
|
|
94
99
|
|
|
@@ -110,14 +115,24 @@ In particular, options for `galter_subjects update` allow you to store renamed,
|
|
|
110
115
|
|
|
111
116
|
When a new list of MeSH term comes out, this package should be updated. Here we show how.
|
|
112
117
|
|
|
118
|
+
**Pre-requisite/Context**
|
|
119
|
+
|
|
120
|
+
[Install the distribution package for development](#development) before you do anything.
|
|
121
|
+
|
|
122
|
+
**Commands**
|
|
123
|
+
|
|
124
|
+
Once you have it installed, you can run the following commands in the isolated virtualenv:
|
|
125
|
+
|
|
113
126
|
```bash
|
|
114
127
|
# In this project
|
|
115
128
|
# Download up-to-date listings
|
|
116
|
-
|
|
129
|
+
(venv) invenio galter_subjects mesh download -d /path/to/downloads/storage/ -y YEAR
|
|
117
130
|
# Generate file containing initial listing
|
|
118
|
-
|
|
131
|
+
(venv) invenio galter_subjects mesh file -d /path/to/downloads/storage/ -y YEAR -f topic -o invenio_subjects_mesh_lite/vocabularies/subjects_mesh.csv
|
|
119
132
|
```
|
|
120
133
|
|
|
134
|
+
Sorting the resulting csv is a nice touch for humans to better parse the changes between versions.
|
|
135
|
+
|
|
121
136
|
When you are happy with the list, bump the version in `pyproject.toml` and release it.
|
|
122
137
|
|
|
123
138
|
|
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
*MeSH topical subject terms without qualifiers for InvenioRDM*
|
|
4
4
|
|
|
5
|
+
<a href="https://pypi.org/project/invenio-subjects-mesh-lite/">
|
|
6
|
+
<img src="https://img.shields.io/pypi/v/invenio-subjects-mesh-lite.svg">
|
|
7
|
+
</a>
|
|
8
|
+
|
|
5
9
|
Install this extension to get Medical Subject Headings topics without qualifiers into your instance.
|
|
6
10
|
|
|
7
11
|
If you are looking for a larger MeSH vocabulary with qualifiers, use
|
|
@@ -34,11 +38,11 @@ table will be provided to indicate version cross-compatibility.
|
|
|
34
38
|
|
|
35
39
|
## Usage
|
|
36
40
|
|
|
37
|
-
There are 2 types of users for this package. Instance
|
|
41
|
+
There are 2 types of users for this package. Instance operators and package maintainers.
|
|
38
42
|
|
|
39
|
-
### Instance
|
|
43
|
+
### Instance operators
|
|
40
44
|
|
|
41
|
-
For instance
|
|
45
|
+
For instance operators, after you have installed the extension as per the steps above, you will want to reload your instance's fixtures: `pipenv run invenio rdm-records fixtures`. This will install the new terms in your instance.
|
|
42
46
|
|
|
43
47
|
Alternatively, or if you want to update your already loaded subjects to a new listing (e.g. from one year's list to another), you can update your instance's MeSH subjects as per below. Updating subjects this way takes care of everything for you: the subjects themselves and the records/drafts using those subjects. **WARNING** This operation can _remove_ subjects.
|
|
44
48
|
|
|
@@ -60,14 +64,24 @@ In particular, options for `galter_subjects update` allow you to store renamed,
|
|
|
60
64
|
|
|
61
65
|
When a new list of MeSH term comes out, this package should be updated. Here we show how.
|
|
62
66
|
|
|
67
|
+
**Pre-requisite/Context**
|
|
68
|
+
|
|
69
|
+
[Install the distribution package for development](#development) before you do anything.
|
|
70
|
+
|
|
71
|
+
**Commands**
|
|
72
|
+
|
|
73
|
+
Once you have it installed, you can run the following commands in the isolated virtualenv:
|
|
74
|
+
|
|
63
75
|
```bash
|
|
64
76
|
# In this project
|
|
65
77
|
# Download up-to-date listings
|
|
66
|
-
|
|
78
|
+
(venv) invenio galter_subjects mesh download -d /path/to/downloads/storage/ -y YEAR
|
|
67
79
|
# Generate file containing initial listing
|
|
68
|
-
|
|
80
|
+
(venv) invenio galter_subjects mesh file -d /path/to/downloads/storage/ -y YEAR -f topic -o invenio_subjects_mesh_lite/vocabularies/subjects_mesh.csv
|
|
69
81
|
```
|
|
70
82
|
|
|
83
|
+
Sorting the resulting csv is a nice touch for humans to better parse the changes between versions.
|
|
84
|
+
|
|
71
85
|
When you are happy with the list, bump the version in `pyproject.toml` and release it.
|
|
72
86
|
|
|
73
87
|
|