commonmeta-py 0.18__py3-none-any.whl → 0.20__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.
Files changed (75) hide show
  1. commonmeta_py/__init__.py +2 -0
  2. {commonmeta_py-0.18.dist-info → commonmeta_py-0.20.dist-info}/METADATA +45 -56
  3. commonmeta_py-0.20.dist-info/RECORD +5 -0
  4. {commonmeta_py-0.18.dist-info → commonmeta_py-0.20.dist-info}/WHEEL +1 -1
  5. commonmeta/__init__.py +0 -96
  6. commonmeta/api_utils.py +0 -77
  7. commonmeta/author_utils.py +0 -261
  8. commonmeta/base_utils.py +0 -121
  9. commonmeta/cli.py +0 -200
  10. commonmeta/constants.py +0 -576
  11. commonmeta/crossref_utils.py +0 -577
  12. commonmeta/date_utils.py +0 -193
  13. commonmeta/doi_utils.py +0 -260
  14. commonmeta/metadata.py +0 -317
  15. commonmeta/readers/__init__.py +0 -1
  16. commonmeta/readers/bibtex_reader.py +0 -0
  17. commonmeta/readers/cff_reader.py +0 -199
  18. commonmeta/readers/codemeta_reader.py +0 -112
  19. commonmeta/readers/commonmeta_reader.py +0 -13
  20. commonmeta/readers/crossref_reader.py +0 -409
  21. commonmeta/readers/crossref_xml_reader.py +0 -505
  22. commonmeta/readers/csl_reader.py +0 -98
  23. commonmeta/readers/datacite_reader.py +0 -384
  24. commonmeta/readers/datacite_xml_reader.py +0 -357
  25. commonmeta/readers/inveniordm_reader.py +0 -199
  26. commonmeta/readers/json_feed_reader.py +0 -421
  27. commonmeta/readers/kbase_reader.py +0 -205
  28. commonmeta/readers/ris_reader.py +0 -103
  29. commonmeta/readers/schema_org_reader.py +0 -493
  30. commonmeta/resources/cff_v1.2.0.json +0 -1827
  31. commonmeta/resources/commonmeta_v0.12.json +0 -601
  32. commonmeta/resources/commonmeta_v0.13.json +0 -559
  33. commonmeta/resources/commonmeta_v0.14.json +0 -573
  34. commonmeta/resources/crossref/AccessIndicators.xsd +0 -47
  35. commonmeta/resources/crossref/JATS-journalpublishing1-3d2-mathml3-elements.xsd +0 -10130
  36. commonmeta/resources/crossref/JATS-journalpublishing1-3d2-mathml3.xsd +0 -48
  37. commonmeta/resources/crossref/JATS-journalpublishing1-elements.xsd +0 -8705
  38. commonmeta/resources/crossref/JATS-journalpublishing1-mathml3-elements.xsd +0 -8608
  39. commonmeta/resources/crossref/JATS-journalpublishing1-mathml3.xsd +0 -49
  40. commonmeta/resources/crossref/JATS-journalpublishing1.xsd +0 -6176
  41. commonmeta/resources/crossref/clinicaltrials.xsd +0 -61
  42. commonmeta/resources/crossref/common5.3.1.xsd +0 -1538
  43. commonmeta/resources/crossref/crossref5.3.1.xsd +0 -1949
  44. commonmeta/resources/crossref/crossref_query_output3.0.xsd +0 -1097
  45. commonmeta/resources/crossref/fundref.xsd +0 -49
  46. commonmeta/resources/crossref/module-ali.xsd +0 -39
  47. commonmeta/resources/crossref/relations.xsd +0 -444
  48. commonmeta/resources/crossref-v0.2.json +0 -60
  49. commonmeta/resources/csl-data.json +0 -538
  50. commonmeta/resources/datacite-v4.5.json +0 -829
  51. commonmeta/resources/ietf-bcp-47.json +0 -3025
  52. commonmeta/resources/iso-8601.json +0 -3182
  53. commonmeta/resources/spdx/licenses.json +0 -4851
  54. commonmeta/resources/spdx-schema..json +0 -903
  55. commonmeta/resources/styles/apa.csl +0 -1697
  56. commonmeta/resources/styles/chicago-author-date.csl +0 -684
  57. commonmeta/resources/styles/harvard-cite-them-right.csl +0 -321
  58. commonmeta/resources/styles/ieee.csl +0 -468
  59. commonmeta/resources/styles/modern-language-association.csl +0 -341
  60. commonmeta/resources/styles/vancouver.csl +0 -376
  61. commonmeta/schema_utils.py +0 -27
  62. commonmeta/translators.py +0 -47
  63. commonmeta/utils.py +0 -1075
  64. commonmeta/writers/__init__.py +0 -1
  65. commonmeta/writers/bibtex_writer.py +0 -149
  66. commonmeta/writers/citation_writer.py +0 -70
  67. commonmeta/writers/commonmeta_writer.py +0 -68
  68. commonmeta/writers/crossref_xml_writer.py +0 -17
  69. commonmeta/writers/csl_writer.py +0 -78
  70. commonmeta/writers/datacite_writer.py +0 -190
  71. commonmeta/writers/ris_writer.py +0 -58
  72. commonmeta/writers/schema_org_writer.py +0 -146
  73. commonmeta_py-0.18.dist-info/RECORD +0 -73
  74. commonmeta_py-0.18.dist-info/entry_points.txt +0 -3
  75. {commonmeta_py-0.18.dist-info → commonmeta_py-0.20.dist-info/licenses}/LICENSE +0 -0
@@ -1,321 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only" default-locale="en-GB">
3
- <info>
4
- <title>Cite Them Right 12th edition - Harvard</title>
5
- <id>http://www.zotero.org/styles/harvard-cite-them-right</id>
6
- <link href="http://www.zotero.org/styles/harvard-cite-them-right" rel="self"/>
7
- <link href="http://www.zotero.org/styles/harvard-cite-them-right-11th-edition" rel="template"/>
8
- <link href="http://www.citethemrightonline.com/" rel="documentation"/>
9
- <author>
10
- <name>Patrick O'Brien</name>
11
- </author>
12
- <category citation-format="author-date"/>
13
- <category field="generic-base"/>
14
- <summary>Harvard according to Cite Them Right, 11th edition.</summary>
15
- <updated>2022-06-27T11:10:37+00:00</updated>
16
- <rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
17
- </info>
18
- <locale xml:lang="en-GB">
19
- <terms>
20
- <term name="editor" form="short">
21
- <single>ed.</single>
22
- <multiple>eds</multiple>
23
- </term>
24
- <term name="editortranslator" form="verb">edited and translated by</term>
25
- <term name="edition" form="short">edn.</term>
26
- </terms>
27
- </locale>
28
- <macro name="editor">
29
- <choose>
30
- <if type="chapter paper-conference" match="any">
31
- <names variable="container-author" delimiter=", " suffix=", ">
32
- <name and="text" initialize-with=". " delimiter=", " sort-separator=", " name-as-sort-order="all"/>
33
- </names>
34
- <choose>
35
- <if variable="container-author" match="none">
36
- <names variable="editor translator" delimiter=", ">
37
- <name and="text" initialize-with="."/>
38
- <label form="short" prefix=" (" suffix=")"/>
39
- </names>
40
- </if>
41
- </choose>
42
- </if>
43
- </choose>
44
- </macro>
45
- <macro name="secondary-contributors">
46
- <choose>
47
- <if type="chapter paper-conference" match="none">
48
- <names variable="editor translator" delimiter=". ">
49
- <label form="verb" text-case="capitalize-first" suffix=" "/>
50
- <name and="text" initialize-with="."/>
51
- </names>
52
- </if>
53
- <else-if variable="container-author" match="any">
54
- <names variable="editor translator" delimiter=". ">
55
- <label form="verb" text-case="capitalize-first" suffix=" "/>
56
- <name and="text" initialize-with=". " delimiter=", "/>
57
- </names>
58
- </else-if>
59
- </choose>
60
- </macro>
61
- <macro name="author">
62
- <names variable="author">
63
- <name and="text" delimiter-precedes-last="never" initialize-with="." name-as-sort-order="all"/>
64
- <label form="short" prefix=" (" suffix=")"/>
65
- <et-al font-style="italic"/>
66
- <substitute>
67
- <names variable="editor"/>
68
- <names variable="translator"/>
69
- <choose>
70
- <if type="article-newspaper article-magazine" match="any">
71
- <text variable="container-title" text-case="title" font-style="italic"/>
72
- </if>
73
- <else>
74
- <text macro="title"/>
75
- </else>
76
- </choose>
77
- </substitute>
78
- </names>
79
- </macro>
80
- <macro name="author-short">
81
- <names variable="author">
82
- <name form="short" and="text" delimiter=", " delimiter-precedes-last="never" initialize-with=". "/>
83
- <et-al font-style="italic"/>
84
- <substitute>
85
- <names variable="editor"/>
86
- <names variable="translator"/>
87
- <choose>
88
- <if type="article-newspaper article-magazine" match="any">
89
- <text variable="container-title" text-case="title" font-style="italic"/>
90
- </if>
91
- <else>
92
- <text macro="title"/>
93
- </else>
94
- </choose>
95
- </substitute>
96
- </names>
97
- </macro>
98
- <macro name="access">
99
- <choose>
100
- <if variable="DOI">
101
- <group delimiter=": ">
102
- <text term="available at" text-case="capitalize-first"/>
103
- <text variable="DOI" prefix="https://doi.org/"/>
104
- </group>
105
- </if>
106
- <else-if variable="URL">
107
- <text term="available at" suffix=": " text-case="capitalize-first"/>
108
- <text variable="URL"/>
109
- <group prefix=" (" delimiter=": " suffix=")">
110
- <text term="accessed" text-case="capitalize-first"/>
111
- <date form="text" variable="accessed">
112
- <date-part name="day"/>
113
- <date-part name="month"/>
114
- <date-part name="year"/>
115
- </date>
116
- </group>
117
- </else-if>
118
- </choose>
119
- </macro>
120
- <macro name="number-volumes">
121
- <choose>
122
- <if variable="volume" match="none">
123
- <group delimiter=" " prefix="(" suffix=")">
124
- <text variable="number-of-volumes"/>
125
- <label variable="volume" form="short" strip-periods="true"/>
126
- </group>
127
- </if>
128
- </choose>
129
- </macro>
130
- <macro name="title">
131
- <choose>
132
- <if type="bill book legal_case legislation motion_picture report song thesis webpage graphic" match="any">
133
- <group delimiter=". ">
134
- <group delimiter=" ">
135
- <group delimiter=" ">
136
- <text variable="title" font-style="italic"/>
137
- <text variable="medium" prefix="[" suffix="]"/>
138
- </group>
139
- <text macro="number-volumes"/>
140
- </group>
141
- <text macro="edition"/>
142
- </group>
143
- </if>
144
- <else>
145
- <text variable="title" form="long" quotes="true"/>
146
- </else>
147
- </choose>
148
- </macro>
149
- <macro name="publisher">
150
- <choose>
151
- <if type="thesis">
152
- <group delimiter=". ">
153
- <text variable="genre"/>
154
- <text variable="publisher"/>
155
- </group>
156
- </if>
157
- <else-if type="report">
158
- <group delimiter=". ">
159
- <group delimiter=" ">
160
- <text variable="genre"/>
161
- <text variable="number"/>
162
- </group>
163
- <group delimiter=": ">
164
- <text variable="publisher-place"/>
165
- <text variable="publisher"/>
166
- </group>
167
- </group>
168
- </else-if>
169
- <else-if type="article-journal article-newspaper article-magazine" match="none">
170
- <group delimiter=" ">
171
- <group delimiter=", ">
172
- <choose>
173
- <if type="speech" variable="event" match="any">
174
- <text variable="event" font-style="italic"/>
175
- </if>
176
- </choose>
177
- <group delimiter=": ">
178
- <text variable="publisher-place"/>
179
- <text variable="publisher"/>
180
- </group>
181
- </group>
182
- <group prefix="(" suffix=")" delimiter=", ">
183
- <text variable="collection-title"/>
184
- <text variable="collection-number"/>
185
- </group>
186
- </group>
187
- </else-if>
188
- </choose>
189
- </macro>
190
- <macro name="year-date">
191
- <choose>
192
- <if variable="issued">
193
- <date variable="issued">
194
- <date-part name="year"/>
195
- </date>
196
- <text variable="year-suffix"/>
197
- </if>
198
- <else>
199
- <text term="no date"/>
200
- <text variable="year-suffix" prefix=" "/>
201
- </else>
202
- </choose>
203
- </macro>
204
- <macro name="locator">
205
- <choose>
206
- <if type="article-journal">
207
- <text variable="volume"/>
208
- <text variable="issue" prefix="(" suffix=")"/>
209
- </if>
210
- </choose>
211
- </macro>
212
- <macro name="published-date">
213
- <choose>
214
- <if type="article-newspaper article-magazine post-weblog speech" match="any">
215
- <date variable="issued">
216
- <date-part name="day" suffix=" "/>
217
- <date-part name="month" form="long"/>
218
- </date>
219
- </if>
220
- </choose>
221
- </macro>
222
- <macro name="pages">
223
- <choose>
224
- <if type="chapter paper-conference article-journal article article-magazine article-newspaper book review review-book report" match="any">
225
- <group delimiter=" ">
226
- <label variable="page" form="short"/>
227
- <text variable="page"/>
228
- </group>
229
- </if>
230
- </choose>
231
- </macro>
232
- <macro name="container-title">
233
- <choose>
234
- <if variable="container-title">
235
- <group delimiter=". ">
236
- <group delimiter=" ">
237
- <text variable="container-title" font-style="italic"/>
238
- <choose>
239
- <if type="article article-journal" match="any">
240
- <choose>
241
- <if match="none" variable="page volume">
242
- <text value="Preprint" prefix="[" suffix="]"/>
243
- </if>
244
- </choose>
245
- </if>
246
- </choose>
247
- </group>
248
- <text macro="edition"/>
249
- </group>
250
- </if>
251
- </choose>
252
- </macro>
253
- <macro name="edition">
254
- <choose>
255
- <if is-numeric="edition">
256
- <group delimiter=" ">
257
- <number variable="edition" form="ordinal"/>
258
- <text term="edition" form="short" strip-periods="true"/>
259
- </group>
260
- </if>
261
- <else>
262
- <text variable="edition"/>
263
- </else>
264
- </choose>
265
- </macro>
266
- <macro name="container-prefix">
267
- <choose>
268
- <if type="chapter paper-conference" match="any">
269
- <text term="in"/>
270
- </if>
271
- </choose>
272
- </macro>
273
- <citation et-al-min="4" et-al-use-first="1" disambiguate-add-year-suffix="true" disambiguate-add-names="true" disambiguate-add-givenname="true" collapse="year">
274
- <sort>
275
- <key macro="year-date"/>
276
- </sort>
277
- <layout prefix="(" suffix=")" delimiter="; ">
278
- <group delimiter=", ">
279
- <group delimiter=", ">
280
- <text macro="author-short"/>
281
- <text macro="year-date"/>
282
- </group>
283
- <group>
284
- <label variable="locator" form="short" suffix=" "/>
285
- <text variable="locator"/>
286
- </group>
287
- </group>
288
- </layout>
289
- </citation>
290
- <bibliography and="text" et-al-min="4" et-al-use-first="1">
291
- <sort>
292
- <key macro="author"/>
293
- <key macro="year-date"/>
294
- <key variable="title"/>
295
- </sort>
296
- <layout suffix=".">
297
- <group delimiter=". ">
298
- <group delimiter=" ">
299
- <text macro="author"/>
300
- <text macro="year-date" prefix="(" suffix=")"/>
301
- <group delimiter=", ">
302
- <text macro="title"/>
303
- <group delimiter=" ">
304
- <text macro="container-prefix"/>
305
- <text macro="editor"/>
306
- <text macro="container-title"/>
307
- </group>
308
- </group>
309
- </group>
310
- <text macro="secondary-contributors"/>
311
- <text macro="publisher"/>
312
- </group>
313
- <group delimiter=", " prefix=", ">
314
- <text macro="locator"/>
315
- <text macro="published-date"/>
316
- <text macro="pages"/>
317
- </group>
318
- <text macro="access" prefix=". "/>
319
- </layout>
320
- </bibliography>
321
- </style>