commonmeta-py 0.93__tar.gz → 0.94__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.93 → commonmeta_py-0.94}/PKG-INFO +1 -1
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/__init__.py +1 -1
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/metadata.py +1 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/readers/json_feed_reader.py +2 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/writers/inveniordm_writer.py +1 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/pyproject.toml +1 -1
- {commonmeta_py-0.93 → commonmeta_py-0.94}/.gitignore +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/LICENSE +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/README.md +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/api_utils.py +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/author_utils.py +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/base_utils.py +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/cli.py +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/constants.py +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/crossref_utils.py +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/date_utils.py +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/doi_utils.py +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/readers/__init__.py +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/readers/bibtex_reader.py +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/readers/cff_reader.py +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/readers/codemeta_reader.py +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/readers/commonmeta_reader.py +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/readers/crossref_reader.py +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/readers/crossref_xml_reader.py +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/readers/csl_reader.py +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/readers/datacite_reader.py +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/readers/datacite_xml_reader.py +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/readers/inveniordm_reader.py +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/readers/kbase_reader.py +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/readers/ris_reader.py +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/readers/schema_org_reader.py +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/resources/cff_v1.2.0.json +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/resources/commonmeta_v0.12.json +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/resources/commonmeta_v0.13.json +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/resources/commonmeta_v0.14.json +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/resources/commonmeta_v0.15.json +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/resources/commonmeta_v0.16.json +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/resources/crossref/AccessIndicators.xsd +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/resources/crossref/JATS-journalpublishing1-3d2-mathml3-elements.xsd +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/resources/crossref/JATS-journalpublishing1-3d2-mathml3.xsd +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/resources/crossref/JATS-journalpublishing1-elements.xsd +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/resources/crossref/JATS-journalpublishing1-mathml3-elements.xsd +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/resources/crossref/JATS-journalpublishing1-mathml3.xsd +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/resources/crossref/JATS-journalpublishing1.xsd +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/resources/crossref/clinicaltrials.xsd +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/resources/crossref/common5.3.1.xsd +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/resources/crossref/crossref5.3.1.xsd +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/resources/crossref/crossref_query_output3.0.xsd +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/resources/crossref/fundref.xsd +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/resources/crossref/module-ali.xsd +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/resources/crossref/relations.xsd +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/resources/crossref-v0.2.json +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/resources/csl-data.json +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/resources/datacite-v4.5.json +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/resources/datacite-v4.5pr.json +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/resources/ietf-bcp-47.json +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/resources/iso-8601.json +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/resources/spdx/licenses.json +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/resources/spdx-schema.json +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/resources/styles/apa.csl +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/resources/styles/chicago-author-date.csl +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/resources/styles/harvard-cite-them-right.csl +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/resources/styles/ieee.csl +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/resources/styles/modern-language-association.csl +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/resources/styles/vancouver.csl +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/schema_utils.py +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/translators.py +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/utils.py +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/writers/__init__.py +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/writers/bibtex_writer.py +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/writers/citation_writer.py +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/writers/commonmeta_writer.py +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/writers/crossref_xml_writer.py +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/writers/csl_writer.py +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/writers/datacite_writer.py +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/commonmeta/writers/ris_writer.py +0 -0
- {commonmeta_py-0.93 → commonmeta_py-0.94}/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.94
|
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
|
@@ -102,6 +102,7 @@ class Metadata:
|
|
102
102
|
self.url = meta.get("url")
|
103
103
|
self.version = meta.get("version")
|
104
104
|
self.content = meta.get("content")
|
105
|
+
self.html = meta.get("html")
|
105
106
|
self.image = meta.get("image")
|
106
107
|
# other properties
|
107
108
|
self.date_created = meta.get("date_created")
|
@@ -138,6 +138,7 @@ def read_json_feed_item(data: Optional[dict], **kwargs) -> Commonmeta:
|
|
138
138
|
{"identifier": meta.get("guid"), "identifierType": "GUID"},
|
139
139
|
]
|
140
140
|
content = py_.get(meta, "content_text", None)
|
141
|
+
html = py_.get(meta, "content_html", None)
|
141
142
|
image = py_.get(meta, "image", None)
|
142
143
|
files = get_files(_id)
|
143
144
|
state = "findable" if meta or read_options else "not_found"
|
@@ -164,6 +165,7 @@ def read_json_feed_item(data: Optional[dict], **kwargs) -> Commonmeta:
|
|
164
165
|
"references": presence(references),
|
165
166
|
"relations": presence(relations),
|
166
167
|
"content": presence(content),
|
168
|
+
"html": presence(html),
|
167
169
|
"image": presence(image),
|
168
170
|
"files": files,
|
169
171
|
# other properties
|
@@ -136,6 +136,7 @@ def write_inveniordm(metadata):
|
|
136
136
|
{
|
137
137
|
"journal:journal": compact({"title": journal, "issn": issn}),
|
138
138
|
"rs:content_text": presence(metadata.content),
|
139
|
+
"rs:content_html": presence(metadata.html),
|
139
140
|
"rs:image": presence(metadata.image),
|
140
141
|
"rs:generator": container.get("platform", None),
|
141
142
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
[project]
|
2
2
|
name = "commonmeta-py"
|
3
|
-
version = "0.
|
3
|
+
version = "0.94"
|
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"
|
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.93 → commonmeta_py-0.94}/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.93 → commonmeta_py-0.94}/commonmeta/resources/crossref/JATS-journalpublishing1.xsd
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{commonmeta_py-0.93 → commonmeta_py-0.94}/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.93 → commonmeta_py-0.94}/commonmeta/resources/styles/chicago-author-date.csl
RENAMED
File without changes
|
{commonmeta_py-0.93 → commonmeta_py-0.94}/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
|