commonmeta-py 0.48__py3-none-any.whl → 0.49__py3-none-any.whl
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.
- commonmeta/__init__.py +1 -1
- commonmeta/writers/inveniordm_writer.py +7 -5
- {commonmeta_py-0.48.dist-info → commonmeta_py-0.49.dist-info}/METADATA +1 -1
- {commonmeta_py-0.48.dist-info → commonmeta_py-0.49.dist-info}/RECORD +7 -7
- {commonmeta_py-0.48.dist-info → commonmeta_py-0.49.dist-info}/LICENSE +0 -0
- {commonmeta_py-0.48.dist-info → commonmeta_py-0.49.dist-info}/WHEEL +0 -0
- {commonmeta_py-0.48.dist-info → commonmeta_py-0.49.dist-info}/entry_points.txt +0 -0
commonmeta/__init__.py
CHANGED
@@ -126,13 +126,15 @@ def write_inveniordm(metadata):
|
|
126
126
|
"related_identifiers": presence(related_identifiers),
|
127
127
|
"funding": presence(funding),
|
128
128
|
"version": metadata.version,
|
129
|
-
"content": presence(metadata.content),
|
130
|
-
"image": presence(metadata.image),
|
131
129
|
}
|
132
130
|
),
|
133
|
-
"custom_fields":
|
134
|
-
|
135
|
-
|
131
|
+
"custom_fields": compact(
|
132
|
+
{
|
133
|
+
"journal:journal": compact({"title": journal, "issn": issn}),
|
134
|
+
"rs:content_text": presence(metadata.content),
|
135
|
+
"rs:image": presence(metadata.image),
|
136
|
+
}
|
137
|
+
),
|
136
138
|
}
|
137
139
|
)
|
138
140
|
return json.dumps(data)
|
@@ -1,4 +1,4 @@
|
|
1
|
-
commonmeta/__init__.py,sha256=
|
1
|
+
commonmeta/__init__.py,sha256=Kx4b9TU_BjS3DqrXMtx7y5hGIjdt3pwv6BgYkZWZHr8,1779
|
2
2
|
commonmeta/api_utils.py,sha256=-ZHGVZZhJqnjnsLtp4-PoeHYbDqL0cQme7W70BEjo4U,2677
|
3
3
|
commonmeta/author_utils.py,sha256=zBIPTgP5n7Zx57xomJ2h7x0dvC0AV8gJ2gPoYeDy5Lo,8348
|
4
4
|
commonmeta/base_utils.py,sha256=AsUElA5kT2fw_Osy7Uaj2F6MKeq9yB7d5f2V-h2lh7c,3750
|
@@ -66,11 +66,11 @@ commonmeta/writers/commonmeta_writer.py,sha256=2qlttCfYpGhfVjrYkjzbIra7AywssRLT3
|
|
66
66
|
commonmeta/writers/crossref_xml_writer.py,sha256=0Ds494RnXfdfjWw5CLX1kwV2zP7gqffdVqO-X74Uc6c,492
|
67
67
|
commonmeta/writers/csl_writer.py,sha256=rlCeShkvC6ui9By0yVfNCMay_JfaZ4AooUPOPg-g-2M,2819
|
68
68
|
commonmeta/writers/datacite_writer.py,sha256=G7Lr0aZ4sAEdbfXe3dG4Y6AyGUKA9UWr_iiaQRDnV24,6233
|
69
|
-
commonmeta/writers/inveniordm_writer.py,sha256=
|
69
|
+
commonmeta/writers/inveniordm_writer.py,sha256=L79kjpcV4s6poWfAoxHipxQ2Fb9MlUdK-dA-xqLb2kU,9812
|
70
70
|
commonmeta/writers/ris_writer.py,sha256=AcnCszS3WY9lF594NbFBtLylsA8ownnYp_XLQJ84Ios,2093
|
71
71
|
commonmeta/writers/schema_org_writer.py,sha256=5j002uCNLdlScZMNQmPjodcVWqaBh2z38zL1H4lo2hY,5741
|
72
|
-
commonmeta_py-0.
|
73
|
-
commonmeta_py-0.
|
74
|
-
commonmeta_py-0.
|
75
|
-
commonmeta_py-0.
|
76
|
-
commonmeta_py-0.
|
72
|
+
commonmeta_py-0.49.dist-info/LICENSE,sha256=746hEF2wZCKkcckk5-_DcBLtHewfaEMS4iXTlA1PVwk,1074
|
73
|
+
commonmeta_py-0.49.dist-info/METADATA,sha256=B6Tdzmp8Sp69PMFnUeYFuToBU1sPt9pLZ2ksDAeu3Ko,8331
|
74
|
+
commonmeta_py-0.49.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
75
|
+
commonmeta_py-0.49.dist-info/entry_points.txt,sha256=vbcDw3_2lMTKdcAL2VUF4DRYRpKuzXVYLMCdgKVf88U,49
|
76
|
+
commonmeta_py-0.49.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|