commonmeta-py 0.83__tar.gz → 0.85__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.
- {commonmeta_py-0.83 → commonmeta_py-0.85}/PKG-INFO +3 -11
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/__init__.py +1 -1
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/readers/schema_org_reader.py +2 -1
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/writers/inveniordm_writer.py +1 -1
- {commonmeta_py-0.83 → commonmeta_py-0.85}/pyproject.toml +3 -11
- {commonmeta_py-0.83 → commonmeta_py-0.85}/.gitignore +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/LICENSE +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/README.md +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/api_utils.py +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/author_utils.py +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/base_utils.py +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/cli.py +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/constants.py +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/crossref_utils.py +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/date_utils.py +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/doi_utils.py +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/metadata.py +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/readers/__init__.py +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/readers/bibtex_reader.py +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/readers/cff_reader.py +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/readers/codemeta_reader.py +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/readers/commonmeta_reader.py +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/readers/crossref_reader.py +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/readers/crossref_xml_reader.py +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/readers/csl_reader.py +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/readers/datacite_reader.py +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/readers/datacite_xml_reader.py +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/readers/inveniordm_reader.py +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/readers/json_feed_reader.py +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/readers/kbase_reader.py +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/readers/ris_reader.py +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/resources/cff_v1.2.0.json +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/resources/commonmeta_v0.12.json +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/resources/commonmeta_v0.13.json +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/resources/commonmeta_v0.14.json +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/resources/commonmeta_v0.15.json +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/resources/commonmeta_v0.16.json +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/resources/crossref/AccessIndicators.xsd +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/resources/crossref/JATS-journalpublishing1-3d2-mathml3-elements.xsd +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/resources/crossref/JATS-journalpublishing1-3d2-mathml3.xsd +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/resources/crossref/JATS-journalpublishing1-elements.xsd +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/resources/crossref/JATS-journalpublishing1-mathml3-elements.xsd +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/resources/crossref/JATS-journalpublishing1-mathml3.xsd +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/resources/crossref/JATS-journalpublishing1.xsd +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/resources/crossref/clinicaltrials.xsd +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/resources/crossref/common5.3.1.xsd +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/resources/crossref/crossref5.3.1.xsd +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/resources/crossref/crossref_query_output3.0.xsd +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/resources/crossref/fundref.xsd +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/resources/crossref/module-ali.xsd +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/resources/crossref/relations.xsd +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/resources/crossref-v0.2.json +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/resources/csl-data.json +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/resources/datacite-v4.5.json +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/resources/datacite-v4.5pr.json +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/resources/ietf-bcp-47.json +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/resources/iso-8601.json +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/resources/spdx/licenses.json +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/resources/spdx-schema.json +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/resources/styles/apa.csl +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/resources/styles/chicago-author-date.csl +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/resources/styles/harvard-cite-them-right.csl +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/resources/styles/ieee.csl +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/resources/styles/modern-language-association.csl +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/resources/styles/vancouver.csl +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/schema_utils.py +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/translators.py +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/utils.py +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/writers/__init__.py +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/writers/bibtex_writer.py +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/writers/citation_writer.py +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/writers/commonmeta_writer.py +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/writers/crossref_xml_writer.py +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/writers/csl_writer.py +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/writers/datacite_writer.py +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/writers/ris_writer.py +0 -0
- {commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/writers/schema_org_writer.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: commonmeta-py
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.85
|
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
|
@@ -10,25 +10,20 @@ License-Expression: MIT
|
|
10
10
|
License-File: LICENSE
|
11
11
|
Keywords: bibtex,commonmeta,crossref,csl,datacite,metadata,science
|
12
12
|
Requires-Python: <4.0,>=3.9
|
13
|
-
Requires-Dist: anyio<5,>=4.2.0
|
14
|
-
Requires-Dist: asyncclick<9,>=8.1.7.1
|
15
|
-
Requires-Dist: asyncio<4,>=3.4.3
|
16
13
|
Requires-Dist: base32-lib~=1.0
|
17
14
|
Requires-Dist: beautifulsoup4~=4.11
|
18
15
|
Requires-Dist: bibtexparser~=1.4
|
19
|
-
Requires-Dist: citeproc-py-styles
|
20
|
-
Requires-Dist: citeproc-py<0.
|
16
|
+
Requires-Dist: citeproc-py-styles~=0.1.3
|
17
|
+
Requires-Dist: citeproc-py<0.9,>=0.7
|
21
18
|
Requires-Dist: click<9,>=8.1.7
|
22
19
|
Requires-Dist: datacite~=1.1
|
23
20
|
Requires-Dist: dateparser<2,>=1.1.7
|
24
|
-
Requires-Dist: docutils<0.22,>=0.19
|
25
21
|
Requires-Dist: edtf<6,>=5.0.0
|
26
22
|
Requires-Dist: furl<3,>=2.1.3
|
27
23
|
Requires-Dist: httpx<0.29,>=0.28
|
28
24
|
Requires-Dist: jsonschema~=4.21
|
29
25
|
Requires-Dist: lxml>=4.8
|
30
26
|
Requires-Dist: nameparser<2,>=1.1.2
|
31
|
-
Requires-Dist: nbstripout<0.9,>=0.6
|
32
27
|
Requires-Dist: nh3<0.3,>=0.2.14
|
33
28
|
Requires-Dist: orjson<4,>=3.9.14
|
34
29
|
Requires-Dist: orjsonl<2,>=1.0.0
|
@@ -38,10 +33,7 @@ Requires-Dist: pydash<9,>=7
|
|
38
33
|
Requires-Dist: pyjwt<3,>=2.8.0
|
39
34
|
Requires-Dist: python-dateutil<3,>=2.8.2
|
40
35
|
Requires-Dist: pyyaml~=6.0
|
41
|
-
Requires-Dist: setuptools<76,>=70
|
42
36
|
Requires-Dist: simplejson~=3.18
|
43
|
-
Requires-Dist: sphinx-autodoc-typehints<4.0,>=1.19
|
44
|
-
Requires-Dist: sphinxcontrib-issuetracker<0.12,>=0.11
|
45
37
|
Requires-Dist: types-beautifulsoup4~=4.11
|
46
38
|
Requires-Dist: types-dateparser~=1.1
|
47
39
|
Requires-Dist: types-pyyaml~=6.0
|
@@ -217,11 +217,12 @@ def read_schema_org(data: Optional[dict], **kwargs) -> Commonmeta:
|
|
217
217
|
}
|
218
218
|
)
|
219
219
|
elif _type in ["Article", "BlogPost"]:
|
220
|
+
container_type = "Blog" if _type == "BlogPost" else "Periodical"
|
220
221
|
issn = py_.get(meta, "isPartOf.issn")
|
221
222
|
container_url = py_.get(meta, "publisher.url")
|
222
223
|
container = compact(
|
223
224
|
{
|
224
|
-
"type":
|
225
|
+
"type": container_type,
|
225
226
|
"title": py_.get(meta, "isPartOf.name"),
|
226
227
|
"identifier": issn
|
227
228
|
if issn is not None
|
@@ -63,7 +63,7 @@ def write_inveniordm(metadata):
|
|
63
63
|
journal = (
|
64
64
|
container.get("title", None)
|
65
65
|
if _type not in ["inbook", "inproceedings"]
|
66
|
-
and container.get("type") in ["Journal", "Periodical"]
|
66
|
+
and container.get("type") in ["Journal", "Periodical", "Blog"]
|
67
67
|
else None
|
68
68
|
)
|
69
69
|
issn = (
|
@@ -1,6 +1,6 @@
|
|
1
1
|
[project]
|
2
2
|
name = "commonmeta-py"
|
3
|
-
version = "0.
|
3
|
+
version = "0.85"
|
4
4
|
description = "Library for conversions to/from the Commonmeta scholarly metadata format"
|
5
5
|
authors = [{ name = "Martin Fenner", email = "martin@front-matter.io" }]
|
6
6
|
requires-python = ">=3.9,<4.0"
|
@@ -16,10 +16,6 @@ keywords = [
|
|
16
16
|
"datacite",
|
17
17
|
]
|
18
18
|
dependencies = [
|
19
|
-
"docutils>=0.19,<0.22",
|
20
|
-
"setuptools>=70,<76",
|
21
|
-
"sphinxcontrib-issuetracker>=0.11,<0.12",
|
22
|
-
"sphinx-autodoc-typehints>=1.19,<4.0",
|
23
19
|
"httpx>=0.28,<0.29",
|
24
20
|
"dateparser>=1.1.7,<2",
|
25
21
|
"types-dateparser~=1.1",
|
@@ -30,11 +26,10 @@ dependencies = [
|
|
30
26
|
"types-beautifulsoup4~=4.11",
|
31
27
|
"simplejson~=3.18",
|
32
28
|
"bibtexparser~=1.4",
|
33
|
-
"citeproc-py-styles
|
34
|
-
"citeproc-py>=0.
|
29
|
+
"citeproc-py-styles~=0.1.3",
|
30
|
+
"citeproc-py>=0.7,<0.9",
|
35
31
|
"jsonschema~=4.21",
|
36
32
|
"base32_lib~=1.0",
|
37
|
-
"nbstripout>=0.6,<0.9",
|
38
33
|
"datacite~=1.1",
|
39
34
|
"xmltodict>=0.12,<0.15",
|
40
35
|
"types-xmltodict>=0.13,<0.15",
|
@@ -46,9 +41,6 @@ dependencies = [
|
|
46
41
|
"python-dateutil>=2.8.2,<3",
|
47
42
|
"nh3>=0.2.14,<0.3",
|
48
43
|
"pyjwt>=2.8.0,<3",
|
49
|
-
"asyncio>=3.4.3,<4",
|
50
|
-
"asyncclick>=8.1.7.1,<9",
|
51
|
-
"anyio>=4.2.0,<5",
|
52
44
|
"orjson>=3.9.14,<4",
|
53
45
|
"orjsonl>=1.0.0,<2",
|
54
46
|
"pikepdf>=8.14,<10.0",
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/resources/crossref/AccessIndicators.xsd
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/resources/crossref/JATS-journalpublishing1.xsd
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/resources/crossref/crossref_query_output3.0.xsd
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/resources/styles/chicago-author-date.csl
RENAMED
File without changes
|
{commonmeta_py-0.83 → commonmeta_py-0.85}/commonmeta/resources/styles/harvard-cite-them-right.csl
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|