destiny_sdk 0.7.6__py3-none-any.whl → 0.8.0__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.
- destiny_sdk/enhancements.py +54 -0
- {destiny_sdk-0.7.6.dist-info → destiny_sdk-0.8.0.dist-info}/METADATA +1 -1
- {destiny_sdk-0.7.6.dist-info → destiny_sdk-0.8.0.dist-info}/RECORD +5 -5
- {destiny_sdk-0.7.6.dist-info → destiny_sdk-0.8.0.dist-info}/WHEEL +0 -0
- {destiny_sdk-0.7.6.dist-info → destiny_sdk-0.8.0.dist-info}/licenses/LICENSE +0 -0
destiny_sdk/enhancements.py
CHANGED
|
@@ -50,6 +50,27 @@ class AuthorPosition(StrEnum):
|
|
|
50
50
|
"""The last author."""
|
|
51
51
|
|
|
52
52
|
|
|
53
|
+
class PublicationVenueType(StrEnum):
|
|
54
|
+
"""
|
|
55
|
+
Type of publication venue.
|
|
56
|
+
|
|
57
|
+
Aligns with OpenAlex source types.
|
|
58
|
+
"""
|
|
59
|
+
|
|
60
|
+
JOURNAL = auto()
|
|
61
|
+
"""A journal publication."""
|
|
62
|
+
REPOSITORY = auto()
|
|
63
|
+
"""A repository (includes preprint servers like arXiv, bioRxiv)."""
|
|
64
|
+
CONFERENCE = auto()
|
|
65
|
+
"""A conference proceeding."""
|
|
66
|
+
EBOOK_PLATFORM = auto()
|
|
67
|
+
"""An ebook platform."""
|
|
68
|
+
BOOK_SERIES = auto()
|
|
69
|
+
"""A book series."""
|
|
70
|
+
OTHER = auto()
|
|
71
|
+
"""Other venue type."""
|
|
72
|
+
|
|
73
|
+
|
|
53
74
|
class Authorship(BaseModel):
|
|
54
75
|
"""
|
|
55
76
|
Represents a single author and their association with a reference.
|
|
@@ -106,6 +127,35 @@ class Pagination(BaseModel):
|
|
|
106
127
|
return value
|
|
107
128
|
|
|
108
129
|
|
|
130
|
+
class PublicationVenue(BaseModel):
|
|
131
|
+
"""A publication venue (journal, repository, conference, etc.)."""
|
|
132
|
+
|
|
133
|
+
display_name: str | None = Field(
|
|
134
|
+
default=None,
|
|
135
|
+
description=(
|
|
136
|
+
"The display name of the venue (journal name, repository name, etc.)"
|
|
137
|
+
),
|
|
138
|
+
)
|
|
139
|
+
venue_type: PublicationVenueType | None = Field(
|
|
140
|
+
default=None,
|
|
141
|
+
description="The type of venue: journal, repository, book, conference, etc.",
|
|
142
|
+
)
|
|
143
|
+
issn: list[str] | None = Field(
|
|
144
|
+
default=None,
|
|
145
|
+
description="List of ISSNs associated with this venue (print and electronic)",
|
|
146
|
+
)
|
|
147
|
+
issn_l: str | None = Field(
|
|
148
|
+
default=None,
|
|
149
|
+
description=(
|
|
150
|
+
"The linking ISSN - a canonical ISSN for the venue across format changes"
|
|
151
|
+
),
|
|
152
|
+
)
|
|
153
|
+
host_organization_name: str | None = Field(
|
|
154
|
+
default=None,
|
|
155
|
+
description="Display name of the host organization (publisher)",
|
|
156
|
+
)
|
|
157
|
+
|
|
158
|
+
|
|
109
159
|
class BibliographicMetadataEnhancement(BaseModel):
|
|
110
160
|
"""
|
|
111
161
|
An enhancement which is made up of bibliographic metadata.
|
|
@@ -151,6 +201,10 @@ other works have cited this work
|
|
|
151
201
|
default=None,
|
|
152
202
|
description="Pagination info (volume, issue, pages).",
|
|
153
203
|
)
|
|
204
|
+
publication_venue: PublicationVenue | None = Field(
|
|
205
|
+
default=None,
|
|
206
|
+
description="Publication venue information (journal, repository, etc.).",
|
|
207
|
+
)
|
|
154
208
|
|
|
155
209
|
@property
|
|
156
210
|
def fingerprint(self) -> str:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: destiny_sdk
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.8.0
|
|
4
4
|
Summary: A software development kit (sdk) to support interaction with the DESTINY repository
|
|
5
5
|
Author-email: Adam Hamilton <adam@futureevidence.org>, Andrew Harvey <andrew@futureevidence.org>, Daniel Breves <daniel@futureevidence.org>, Jack Walmisley <jack@futureevidence.org>, Tim Repke <tim.repke@pik-potsdam.de>
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -2,7 +2,7 @@ destiny_sdk/__init__.py,sha256=NdSlsPQyDF3TW30_JzbvYMRBRA9iT677iTRWWCMdYOA,382
|
|
|
2
2
|
destiny_sdk/auth.py,sha256=bY72ywZEcG_67YBd9PrwgWTXkCf58rhLvVEXrtXbWtA,6247
|
|
3
3
|
destiny_sdk/client.py,sha256=Hrsw_ofThHTy-WkmDYO2C0DLwXx4_4dEBEROXSl00dk,21925
|
|
4
4
|
destiny_sdk/core.py,sha256=E0Wotu9psggK1JRJxbvx3Jc7WEGE6zaz2R2awvRrLz8,2023
|
|
5
|
-
destiny_sdk/enhancements.py,sha256=
|
|
5
|
+
destiny_sdk/enhancements.py,sha256=kOnQVGqAUY8ZmnFRwOGOW1mTlp0-y7r60sJJl4Sh3zI,18715
|
|
6
6
|
destiny_sdk/identifiers.py,sha256=0D2FTR0SO_WJNfWgXVg8M1T0VmtvHGxdIsWSiuQim7U,11215
|
|
7
7
|
destiny_sdk/imports.py,sha256=b-rh-dt3NsyLGxqmVzIzKaHiXhbw-3wtAaBN-ZW-i1E,5940
|
|
8
8
|
destiny_sdk/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -15,7 +15,7 @@ destiny_sdk/labs/references.py,sha256=iZisRgGZ5c7X7uTFoe6Q0AwwFMa4yJbIoPUVv_hvOi
|
|
|
15
15
|
destiny_sdk/parsers/__init__.py,sha256=d5gS--bXla_0I7e_9wTBnGWMXt2U8b-_ndeprTPe1hk,149
|
|
16
16
|
destiny_sdk/parsers/eppi_parser.py,sha256=_1xnAT0F0o1HKpMWOGQbVS3VPOrhPqyzHDWR3CosWwk,9484
|
|
17
17
|
destiny_sdk/parsers/exceptions.py,sha256=0Sc_M4j560Nqh4SjeP_YrgOUVagdIwWwRz24E6YlZ1k,573
|
|
18
|
-
destiny_sdk-0.
|
|
19
|
-
destiny_sdk-0.
|
|
20
|
-
destiny_sdk-0.
|
|
21
|
-
destiny_sdk-0.
|
|
18
|
+
destiny_sdk-0.8.0.dist-info/METADATA,sha256=WZHM5fhUORuOYCLsii7JaBNRZjII1voB6VRwgb8gKyg,2574
|
|
19
|
+
destiny_sdk-0.8.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
20
|
+
destiny_sdk-0.8.0.dist-info/licenses/LICENSE,sha256=6QURU4gvvTjVZ5rfp5amZ6FtFvcpPhAGUjxF5WSZAHI,9138
|
|
21
|
+
destiny_sdk-0.8.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|