commonmeta-py 0.86__py3-none-any.whl → 0.87__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/readers/json_feed_reader.py +4 -1
- {commonmeta_py-0.86.dist-info → commonmeta_py-0.87.dist-info}/METADATA +1 -1
- {commonmeta_py-0.86.dist-info → commonmeta_py-0.87.dist-info}/RECORD +7 -7
- {commonmeta_py-0.86.dist-info → commonmeta_py-0.87.dist-info}/WHEEL +0 -0
- {commonmeta_py-0.86.dist-info → commonmeta_py-0.87.dist-info}/entry_points.txt +0 -0
- {commonmeta_py-0.86.dist-info → commonmeta_py-0.87.dist-info}/licenses/LICENSE +0 -0
commonmeta/__init__.py
CHANGED
@@ -286,7 +286,7 @@ def get_funding_references(meta: Optional[dict]) -> Optional[list]:
|
|
286
286
|
if i.get("type", None) == "HasAward"
|
287
287
|
]
|
288
288
|
)
|
289
|
-
funding = py_.get(meta, "blog.funding"
|
289
|
+
funding = py_.get(meta, "blog.funding")
|
290
290
|
if funding is not None:
|
291
291
|
awards += [
|
292
292
|
{
|
@@ -296,6 +296,9 @@ def get_funding_references(meta: Optional[dict]) -> Optional[list]:
|
|
296
296
|
"awardNumber": funding.get("award_number", None),
|
297
297
|
}
|
298
298
|
]
|
299
|
+
funding_references = py_.get(meta, "funding_references")
|
300
|
+
if funding_references is not None:
|
301
|
+
awards += [compact(i) for i in funding_references]
|
299
302
|
return awards
|
300
303
|
|
301
304
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: commonmeta-py
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.87
|
4
4
|
Summary: Library for conversions to/from the Commonmeta scholarly metadata format
|
5
5
|
Project-URL: Homepage, https://python.commonmeta.org
|
6
6
|
Project-URL: Repository, https://github.com/front-matter/commonmeta-py
|
@@ -1,4 +1,4 @@
|
|
1
|
-
commonmeta/__init__.py,sha256=
|
1
|
+
commonmeta/__init__.py,sha256=ToXvSGATGxDBN50c9wETUrtKhpMS0J7cUJ7d5_-sA4U,1911
|
2
2
|
commonmeta/api_utils.py,sha256=-ZHGVZZhJqnjnsLtp4-PoeHYbDqL0cQme7W70BEjo4U,2677
|
3
3
|
commonmeta/author_utils.py,sha256=1oQQfxaq7aMQI3rLt8XMufksuBeC8Zht96aJ8vz09Ug,8459
|
4
4
|
commonmeta/base_utils.py,sha256=AsUElA5kT2fw_Osy7Uaj2F6MKeq9yB7d5f2V-h2lh7c,3750
|
@@ -22,7 +22,7 @@ commonmeta/readers/csl_reader.py,sha256=ynqJeqK9TlHFsmgMREPmKGlcj6tVycpnqDN0N0Lj
|
|
22
22
|
commonmeta/readers/datacite_reader.py,sha256=CdOtxhthrakBoQMsLTdPx6sUCmqtEWo5ICYE6ZsWDdo,12026
|
23
23
|
commonmeta/readers/datacite_xml_reader.py,sha256=nhnO92fZihr1HZlbXjyem-HJXc9_DWLgJ2zeltuPMIg,13041
|
24
24
|
commonmeta/readers/inveniordm_reader.py,sha256=uS92St68UkO4Adh3PsCu9ox81aO0kek3Y0vneBSDkts,7584
|
25
|
-
commonmeta/readers/json_feed_reader.py,sha256=
|
25
|
+
commonmeta/readers/json_feed_reader.py,sha256=yMwLDBe0SUJT0hHSEIHTPLXVpstYqZ_m8E8oKEZJf0A,13596
|
26
26
|
commonmeta/readers/kbase_reader.py,sha256=ehKXQsJyPCtaq2FmBxNb2Jb5Nktpx8pNscpmEM6N0A4,6763
|
27
27
|
commonmeta/readers/ris_reader.py,sha256=v6qOd-i2OcMTEFy5RGd3MlYthJcYSU6yzmZ5yHDzmII,3677
|
28
28
|
commonmeta/readers/schema_org_reader.py,sha256=78vYWCZqrYevZsSbx7oVVLm3mlNzi323WNW5E_PL9o0,17234
|
@@ -70,8 +70,8 @@ commonmeta/writers/datacite_writer.py,sha256=UpDp4Brg5xrmS5T3QYoNi6PPXKdRxAo254e
|
|
70
70
|
commonmeta/writers/inveniordm_writer.py,sha256=yWDMYorsJJ4vFNHOmjU8d1_uAfqMwkBxzeV7jtBoC1Q,11515
|
71
71
|
commonmeta/writers/ris_writer.py,sha256=AcnCszS3WY9lF594NbFBtLylsA8ownnYp_XLQJ84Ios,2093
|
72
72
|
commonmeta/writers/schema_org_writer.py,sha256=5j002uCNLdlScZMNQmPjodcVWqaBh2z38zL1H4lo2hY,5741
|
73
|
-
commonmeta_py-0.
|
74
|
-
commonmeta_py-0.
|
75
|
-
commonmeta_py-0.
|
76
|
-
commonmeta_py-0.
|
77
|
-
commonmeta_py-0.
|
73
|
+
commonmeta_py-0.87.dist-info/METADATA,sha256=aBKlcvfgtgTUgW5-Z7QbncVPnyMkCkeuH0-SEBLhoxI,7429
|
74
|
+
commonmeta_py-0.87.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
75
|
+
commonmeta_py-0.87.dist-info/entry_points.txt,sha256=U4w4BoRuS3rN5t5Y-uYSyOeU5Lh_VRVMS9OIDzIgw4w,50
|
76
|
+
commonmeta_py-0.87.dist-info/licenses/LICENSE,sha256=746hEF2wZCKkcckk5-_DcBLtHewfaEMS4iXTlA1PVwk,1074
|
77
|
+
commonmeta_py-0.87.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|