commonmeta-py 0.70__py3-none-any.whl → 0.72__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 CHANGED
@@ -10,7 +10,7 @@ commonmeta-py is a Python library to convert scholarly metadata
10
10
  """
11
11
 
12
12
  __title__ = "commonmeta-py"
13
- __version__ = "0.70"
13
+ __version__ = "0.72"
14
14
  __author__ = "Martin Fenner"
15
15
  __license__ = "MIT"
16
16
 
@@ -12,7 +12,6 @@ from ..utils import (
12
12
  wrap,
13
13
  dict_to_spdx,
14
14
  name_to_fos,
15
- validate_url,
16
15
  validate_ror,
17
16
  issn_as_url,
18
17
  )
@@ -4,7 +4,7 @@ import orjson as json
4
4
  from typing import Optional
5
5
 
6
6
  from ..base_utils import compact, wrap, parse_attributes, presence
7
- from ..date_utils import get_iso8601_date, validate_edtf
7
+ from ..date_utils import get_iso8601_date
8
8
  from ..doi_utils import doi_from_url, normalize_doi
9
9
  from ..constants import (
10
10
  CM_TO_INVENIORDM_TRANSLATIONS,
@@ -1,59 +1,52 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: commonmeta-py
3
- Version: 0.70
3
+ Version: 0.72
4
4
  Summary: Library for conversions to/from the Commonmeta scholarly metadata format
5
- Home-page: https://python.commonmeta.org
6
- License: MIT
7
- Keywords: science,metadata,commonmeta,bibtex,csl,crossref,datacite
8
- Author: Martin Fenner
9
- Author-email: martin@front-matter.io
10
- Requires-Python: >=3.9,<4.0
11
- Classifier: License :: OSI Approved :: MIT License
12
- Classifier: Programming Language :: Python :: 3
13
- Classifier: Programming Language :: Python :: 3.9
14
- Classifier: Programming Language :: Python :: 3.10
15
- Classifier: Programming Language :: Python :: 3.11
16
- Classifier: Programming Language :: Python :: 3.12
17
- Classifier: Programming Language :: Python :: 3.13
18
- Requires-Dist: PyYAML (>=6.0,<7.0)
19
- Requires-Dist: anyio (>=4.2.0,<5.0.0)
20
- Requires-Dist: asyncclick (>=8.1.7.1,<9.0.0.0)
21
- Requires-Dist: asyncio (>=3.4.3,<4.0.0)
22
- Requires-Dist: base32_lib (>=1.0,<2.0)
23
- Requires-Dist: beautifulsoup4 (>=4.11,<5.0)
24
- Requires-Dist: bibtexparser (>=1.4,<2.0)
25
- Requires-Dist: citeproc-py (>=0.6,<0.7)
26
- Requires-Dist: citeproc-py-styles (>0.1)
27
- Requires-Dist: click (>=8.1.7,<9.0.0)
28
- Requires-Dist: datacite (>=1.1,<2.0)
29
- Requires-Dist: dateparser (>=1.1.7,<2.0.0)
30
- Requires-Dist: docutils (>=0.19,<0.20)
31
- Requires-Dist: edtf (>=5.0.0,<6.0.0)
32
- Requires-Dist: furl (>=2.1.3,<3.0.0)
33
- Requires-Dist: httpx (>=0.27,<0.28)
34
- Requires-Dist: jsonschema (>=4.21,<5.0)
35
- Requires-Dist: lxml (>=4.8)
36
- Requires-Dist: nameparser (>=1.1.2,<2.0.0)
37
- Requires-Dist: nbstripout (>=0.6,<0.7)
38
- Requires-Dist: nh3 (>=0.2.14,<0.3.0)
39
- Requires-Dist: orjson (>=3.9.14,<4.0.0)
40
- Requires-Dist: orjsonl (>=1.0.0,<2.0.0)
41
- Requires-Dist: pikepdf (>=8.14,<10.0)
42
- Requires-Dist: pycountry (>=23.12.11,<24.0.0)
43
- Requires-Dist: pydash (>=7.0,<8.0)
44
- Requires-Dist: pyjwt (>=2.8.0,<3.0.0)
45
- Requires-Dist: python-dateutil (>=2.8.2,<3.0.0)
46
- Requires-Dist: setuptools (>=70.0,<71.0)
47
- Requires-Dist: simplejson (>=3.18,<4.0)
48
- Requires-Dist: sphinx-autodoc-typehints (>=1.19,<2.0)
49
- Requires-Dist: sphinxcontrib-issuetracker (>=0.11,<0.12)
50
- Requires-Dist: types-PyYAML (>=6.0,<7.0)
51
- Requires-Dist: types-beautifulsoup4 (>=4.11,<5.0)
52
- Requires-Dist: types-dateparser (>=1.1,<2.0)
53
- Requires-Dist: types-xmltodict (>=0.13,<0.14)
54
- Requires-Dist: xmltodict (>=0.12,<0.13)
55
- Project-URL: Documentation, https://python.commonmeta.org
5
+ Project-URL: Homepage, https://python.commonmeta.org
56
6
  Project-URL: Repository, https://github.com/front-matter/commonmeta-py
7
+ Project-URL: Documentation, https://python.commonmeta.org
8
+ Author-email: Martin Fenner <martin@front-matter.io>
9
+ License-Expression: MIT
10
+ License-File: LICENSE
11
+ Keywords: bibtex,commonmeta,crossref,csl,datacite,metadata,science
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
+ Requires-Dist: base32-lib~=1.0
17
+ Requires-Dist: beautifulsoup4~=4.11
18
+ Requires-Dist: bibtexparser~=1.4
19
+ Requires-Dist: citeproc-py-styles>0.1
20
+ Requires-Dist: citeproc-py<0.7,>=0.6
21
+ Requires-Dist: click<9,>=8.1.7
22
+ Requires-Dist: datacite~=1.1
23
+ Requires-Dist: dateparser<2,>=1.1.7
24
+ Requires-Dist: docutils<0.20,>=0.19
25
+ Requires-Dist: edtf<6,>=5.0.0
26
+ Requires-Dist: furl<3,>=2.1.3
27
+ Requires-Dist: httpx<0.29,>=0.28
28
+ Requires-Dist: jsonschema~=4.21
29
+ Requires-Dist: lxml>=4.8
30
+ Requires-Dist: nameparser<2,>=1.1.2
31
+ Requires-Dist: nbstripout<0.7,>=0.6
32
+ Requires-Dist: nh3<0.3,>=0.2.14
33
+ Requires-Dist: orjson<4,>=3.9.14
34
+ Requires-Dist: orjsonl<2,>=1.0.0
35
+ Requires-Dist: pikepdf<10.0,>=8.14
36
+ Requires-Dist: pycountry<24,>=23.12.11
37
+ Requires-Dist: pydash~=7.0
38
+ Requires-Dist: pyjwt<3,>=2.8.0
39
+ Requires-Dist: python-dateutil<3,>=2.8.2
40
+ Requires-Dist: pyyaml~=6.0
41
+ Requires-Dist: setuptools~=70.0
42
+ Requires-Dist: simplejson~=3.18
43
+ Requires-Dist: sphinx-autodoc-typehints~=1.19
44
+ Requires-Dist: sphinxcontrib-issuetracker<0.12,>=0.11
45
+ Requires-Dist: types-beautifulsoup4~=4.11
46
+ Requires-Dist: types-dateparser~=1.1
47
+ Requires-Dist: types-pyyaml~=6.0
48
+ Requires-Dist: types-xmltodict<0.14,>=0.13
49
+ Requires-Dist: xmltodict<0.15,>=0.12
57
50
  Description-Content-Type: text/markdown
58
51
 
59
52
  [![DOI](https://zenodo.org/badge/570526578.svg)](https://zenodo.org/doi/10.5281/zenodo.8340374)
@@ -117,4 +110,3 @@ Documentation (work in progress) for using the library is available at the [comm
117
110
  Please note that this project is released with a [Contributor Code of Conduct](https://github.com/front-matter/commonmeta-py/blob/main/CODE_OF_CONDUCT.md). By participating in this project you agree to abide by its terms.
118
111
 
119
112
  License: [MIT](https://github.com/front-matter/commonmeta-py/blob/main/LICENSE)
120
-
@@ -1,4 +1,4 @@
1
- commonmeta/__init__.py,sha256=TAmXnOcVH9NyZ55JjhDdPqmZeJTJvPLQfYYU9_JtMBk,1875
1
+ commonmeta/__init__.py,sha256=y0UJDazDjSIbx1MYf5wegyh5YWp9uh8_Y35YSDg1-3g,1875
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
@@ -8,6 +8,9 @@ commonmeta/crossref_utils.py,sha256=qJlTZtfKR2shAXQDm8VBYUujKFkTtZTUz19GuMUANaI,
8
8
  commonmeta/date_utils.py,sha256=rJRV4YmWKQWU__iAV8www3cqwaefC0iRKyHwvxrr_XY,6316
9
9
  commonmeta/doi_utils.py,sha256=s2J95V9rWPbGsh5oNXht3yJkJ0NmVLRlOXDPXjnN-Ck,9152
10
10
  commonmeta/metadata.py,sha256=cjvCcxW1FMtKCbNKan0zXX0FN6z5orHFGPYsgkp6fSI,12480
11
+ commonmeta/schema_utils.py,sha256=gg3l1jd_lFtRkQlO1DYGMVbC10nEmVTN4AWacxC4AAE,915
12
+ commonmeta/translators.py,sha256=RpGJtKNLjmz41VREZDY7KyyE2eXOi8j7m-da4jHmknI,1362
13
+ commonmeta/utils.py,sha256=lIH7VejIn_gReLsuXsAZxE-RiMCRGECA_6aPrhGsBFc,44596
11
14
  commonmeta/readers/__init__.py,sha256=vOf7UsOKNoh_ZCuyexxhAmPMt8wjB-pF_CfpWRaN8pk,45
12
15
  commonmeta/readers/bibtex_reader.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
13
16
  commonmeta/readers/cff_reader.py,sha256=5HMFUvjE1zb-zfpQSNM8vtB0YunD0reom99hn8N0xKc,6144
@@ -19,7 +22,7 @@ commonmeta/readers/csl_reader.py,sha256=IO8uj-L_BzPFWgfRzYCF9VbK5rBPBzDqak7iBELg
19
22
  commonmeta/readers/datacite_reader.py,sha256=CdOtxhthrakBoQMsLTdPx6sUCmqtEWo5ICYE6ZsWDdo,12026
20
23
  commonmeta/readers/datacite_xml_reader.py,sha256=nhnO92fZihr1HZlbXjyem-HJXc9_DWLgJ2zeltuPMIg,13041
21
24
  commonmeta/readers/inveniordm_reader.py,sha256=jzv0rXzT8OCdPD_MShBXTnlwD-F9tpTX7OKZGn8smzs,7480
22
- commonmeta/readers/json_feed_reader.py,sha256=8C9tEH6KAh7nUWLW4myAXkhdMue-ViL9wqaajqb_B1s,13390
25
+ commonmeta/readers/json_feed_reader.py,sha256=pDBpMN53CNrTRMCCLEdfWY6eYqdlO20HgvIk_gOUBvg,13372
23
26
  commonmeta/readers/kbase_reader.py,sha256=ehKXQsJyPCtaq2FmBxNb2Jb5Nktpx8pNscpmEM6N0A4,6763
24
27
  commonmeta/readers/ris_reader.py,sha256=v6qOd-i2OcMTEFy5RGd3MlYthJcYSU6yzmZ5yHDzmII,3677
25
28
  commonmeta/readers/schema_org_reader.py,sha256=iK71dvjK6oqYneJ51j4-qFmBh5G3pmjQMzt_U6tK9_o,17077
@@ -28,6 +31,13 @@ commonmeta/resources/commonmeta_v0.12.json,sha256=HUSNReXh2JN3Q6YWSt7CE69js8dh50
28
31
  commonmeta/resources/commonmeta_v0.13.json,sha256=2-WSZGijR13zVu97S_YHXr-cyeLW7hzHXYMlr6nIjdw,15787
29
32
  commonmeta/resources/commonmeta_v0.14.json,sha256=nACmkTe4IrZkygd5AeJnAv9P4EWfzCwW9oL5AhubvnE,17657
30
33
  commonmeta/resources/commonmeta_v0.15.json,sha256=dZsWu7DOHL04v1tYAX1RE4Kyn_mt0HnJvEZRKvc8w0A,17733
34
+ commonmeta/resources/crossref-v0.2.json,sha256=THbFem4IDSE-TFNOtP1-NOmZhED2dlLBso9RdGMbGIY,1431
35
+ commonmeta/resources/csl-data.json,sha256=I7LAYtdSYGD0YxuwS0s7ojfkiEhCU-MnvQD6aRhhuBE,12222
36
+ commonmeta/resources/datacite-v4.5.json,sha256=ocpQNSbORPJf5Ogidy6M6EHundgv7DSgIqRco02KgM4,18970
37
+ commonmeta/resources/datacite-v4.5pr.json,sha256=2A1fKDid_hNfKc5YLjOjtXUobJovU3so9lNkTXVS3sw,21092
38
+ commonmeta/resources/ietf-bcp-47.json,sha256=QQUmtIleKwywDfilVLlxzhf7XA4T46LdtLZic5XwDco,228225
39
+ commonmeta/resources/iso-8601.json,sha256=SJpMPOyep2ujMnTw7PeL_KjF4tNPjx5E0n7KslCm2_I,246361
40
+ commonmeta/resources/spdx-schema.json,sha256=Zq3_ad54nFivIkbnnqGPXEcXcDHJ_KuA6WIBSjmeJq8,47334
31
41
  commonmeta/resources/crossref/AccessIndicators.xsd,sha256=en-G2FFt4ewIFRw5C6g4YA8Nc0M66fCM2CygiO_ZqqY,2825
32
42
  commonmeta/resources/crossref/JATS-journalpublishing1-3d2-mathml3-elements.xsd,sha256=l5jJMFm4xx09bavH2Gc3EqIdr-0PTf6M9YBTNpUaZhY,415409
33
43
  commonmeta/resources/crossref/JATS-journalpublishing1-3d2-mathml3.xsd,sha256=goO2ckm12fF2-kGFZC_FaTBdi4BK3YCRwb_ESur8dfY,2210
@@ -42,23 +52,13 @@ commonmeta/resources/crossref/crossref_query_output3.0.xsd,sha256=sL1xvIq_1cqHAN
42
52
  commonmeta/resources/crossref/fundref.xsd,sha256=qau1JgYG6EAikQjHkOrPa6UUiZlPgq17IUrsOv9i098,4490
43
53
  commonmeta/resources/crossref/module-ali.xsd,sha256=3gYezOC4Wy8bRRB4q42DYv53Ue6HlSb2gsS4e_fmkrs,2079
44
54
  commonmeta/resources/crossref/relations.xsd,sha256=f2EJeWHdPWfHLsPgCQdNFryamBw64OA4s3CweQWxsNU,14552
45
- commonmeta/resources/crossref-v0.2.json,sha256=THbFem4IDSE-TFNOtP1-NOmZhED2dlLBso9RdGMbGIY,1431
46
- commonmeta/resources/csl-data.json,sha256=I7LAYtdSYGD0YxuwS0s7ojfkiEhCU-MnvQD6aRhhuBE,12222
47
- commonmeta/resources/datacite-v4.5.json,sha256=ocpQNSbORPJf5Ogidy6M6EHundgv7DSgIqRco02KgM4,18970
48
- commonmeta/resources/datacite-v4.5pr.json,sha256=2A1fKDid_hNfKc5YLjOjtXUobJovU3so9lNkTXVS3sw,21092
49
- commonmeta/resources/ietf-bcp-47.json,sha256=QQUmtIleKwywDfilVLlxzhf7XA4T46LdtLZic5XwDco,228225
50
- commonmeta/resources/iso-8601.json,sha256=SJpMPOyep2ujMnTw7PeL_KjF4tNPjx5E0n7KslCm2_I,246361
51
55
  commonmeta/resources/spdx/licenses.json,sha256=acWuaiWFY35GOht9uXgX20vdG-QH7ISrqTL_D0mf2bY,172114
52
- commonmeta/resources/spdx-schema.json,sha256=Zq3_ad54nFivIkbnnqGPXEcXcDHJ_KuA6WIBSjmeJq8,47334
53
56
  commonmeta/resources/styles/apa.csl,sha256=2KSBL2rUz55nJj5ulA9w9E-GLSL8dX0nfCBVUdRP45o,63244
54
57
  commonmeta/resources/styles/chicago-author-date.csl,sha256=e577X6ZqwhajOsrJLXMiOALuwk5_wkLb-Y5BeBB8gW8,23208
55
58
  commonmeta/resources/styles/harvard-cite-them-right.csl,sha256=XmLVFDrfsgkECYaAbdqM7CtPnxoigqfGKhyX9qnYTJ0,10723
56
59
  commonmeta/resources/styles/ieee.csl,sha256=DfuN__z8FZ5Rcdaj_Myc5y_FmB-fHwfRVTeS9-hOgmQ,15854
57
60
  commonmeta/resources/styles/modern-language-association.csl,sha256=HI2iU4krze1aHYc9VSQCUyw_2I6fEQYnA9xIWo-xNus,11594
58
61
  commonmeta/resources/styles/vancouver.csl,sha256=lun3_i2oTilgsANk4LjFao2UDPQlGj_hgFgKAWC_DF8,12878
59
- commonmeta/schema_utils.py,sha256=gg3l1jd_lFtRkQlO1DYGMVbC10nEmVTN4AWacxC4AAE,915
60
- commonmeta/translators.py,sha256=RpGJtKNLjmz41VREZDY7KyyE2eXOi8j7m-da4jHmknI,1362
61
- commonmeta/utils.py,sha256=lIH7VejIn_gReLsuXsAZxE-RiMCRGECA_6aPrhGsBFc,44596
62
62
  commonmeta/writers/__init__.py,sha256=47-snms6xBHkoEXKYV1DBtH1npAtlVtvY29Z4Zr45qI,45
63
63
  commonmeta/writers/bibtex_writer.py,sha256=s3hIJIgWvSG7TAriZMRQEAyuitw6ebwWSI1YcYFQ-do,4971
64
64
  commonmeta/writers/citation_writer.py,sha256=RjaNh9EALxq6gfODLRWVJxGxPArGd6ZiHUlkYnCT6MA,2355
@@ -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=6N-93R1emcOsZrUTIhPBVd_Fv1C8Z5EAFYI0mYjoYaY,2797
68
68
  commonmeta/writers/datacite_writer.py,sha256=G7Lr0aZ4sAEdbfXe3dG4Y6AyGUKA9UWr_iiaQRDnV24,6233
69
- commonmeta/writers/inveniordm_writer.py,sha256=5U1_3pCXH2F5a3Jj8d3a-DiRBkGFZ4g4k9TD2JTgRqs,11427
69
+ commonmeta/writers/inveniordm_writer.py,sha256=p2OALDv3rEmZiA89q4-vxY4VJfWzL0tKaImR4WN14kk,11412
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.70.dist-info/LICENSE,sha256=746hEF2wZCKkcckk5-_DcBLtHewfaEMS4iXTlA1PVwk,1074
73
- commonmeta_py-0.70.dist-info/METADATA,sha256=8sjl96yizbRpmlRJ2GWPfPPd-ohZ_p0A2tGqYndTG7M,8279
74
- commonmeta_py-0.70.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
75
- commonmeta_py-0.70.dist-info/entry_points.txt,sha256=vbcDw3_2lMTKdcAL2VUF4DRYRpKuzXVYLMCdgKVf88U,49
76
- commonmeta_py-0.70.dist-info/RECORD,,
72
+ commonmeta_py-0.72.dist-info/METADATA,sha256=4ZDn6TM3CtQBJRECAKYODUx1mzeMFw_yC_M5p6Ai06c,7731
73
+ commonmeta_py-0.72.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
74
+ commonmeta_py-0.72.dist-info/entry_points.txt,sha256=U4w4BoRuS3rN5t5Y-uYSyOeU5Lh_VRVMS9OIDzIgw4w,50
75
+ commonmeta_py-0.72.dist-info/licenses/LICENSE,sha256=746hEF2wZCKkcckk5-_DcBLtHewfaEMS4iXTlA1PVwk,1074
76
+ commonmeta_py-0.72.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: poetry-core 1.9.1
2
+ Generator: hatchling 1.27.0
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ commonmeta = commonmeta.cli:cli
@@ -1,3 +0,0 @@
1
- [console_scripts]
2
- commonmeta=commonmeta.cli:cli
3
-