matelab-python-sdk 0.1.0a1__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.
- matelab/__init__.py +372 -0
- matelab/_generated/__init__.py +1 -0
- matelab/_generated/models.py +3553 -0
- matelab/_transport.py +481 -0
- matelab/client.py +191 -0
- matelab/cloud_drive.py +789 -0
- matelab/errors.py +38 -0
- matelab/groups.py +78 -0
- matelab/literature.py +1243 -0
- matelab/models.py +27 -0
- matelab/notebooks.py +467 -0
- matelab/py.typed +1 -0
- matelab/records.py +2511 -0
- matelab/streaming.py +82 -0
- matelab/templates.py +737 -0
- matelab/uploads.py +247 -0
- matelab/users.py +77 -0
- matelab_python_sdk-0.1.0a1.dist-info/METADATA +538 -0
- matelab_python_sdk-0.1.0a1.dist-info/RECORD +22 -0
- matelab_python_sdk-0.1.0a1.dist-info/WHEEL +4 -0
- matelab_python_sdk-0.1.0a1.dist-info/licenses/LICENSE +202 -0
- matelab_python_sdk-0.1.0a1.dist-info/licenses/NOTICE +2 -0
matelab/__init__.py
ADDED
|
@@ -0,0 +1,372 @@
|
|
|
1
|
+
from matelab.client import AsyncMatelab
|
|
2
|
+
from matelab.cloud_drive import (
|
|
3
|
+
CloudDriveListing,
|
|
4
|
+
CloudDriveLocation,
|
|
5
|
+
CloudDriveOrder,
|
|
6
|
+
CloudDriveQuota,
|
|
7
|
+
CloudDriveRoot,
|
|
8
|
+
CloudDriveRootPermissions,
|
|
9
|
+
CloudDriveRootRef,
|
|
10
|
+
CloudFile,
|
|
11
|
+
CloudFileBindResult,
|
|
12
|
+
CloudFileMoveResult,
|
|
13
|
+
CloudFilePage,
|
|
14
|
+
CloudFilePermanentDeleteResult,
|
|
15
|
+
CloudFileRef,
|
|
16
|
+
CloudFileUpdateResult,
|
|
17
|
+
CloudFolder,
|
|
18
|
+
CloudFolderDeleteResult,
|
|
19
|
+
CloudFolderMetadata,
|
|
20
|
+
CloudFolderMoveResult,
|
|
21
|
+
CloudFolderRef,
|
|
22
|
+
CloudFolderSaveResult,
|
|
23
|
+
CloudFolderTree,
|
|
24
|
+
)
|
|
25
|
+
from matelab.errors import (
|
|
26
|
+
MatelabAuthenticationError,
|
|
27
|
+
MatelabError,
|
|
28
|
+
MatelabProtocolError,
|
|
29
|
+
MatelabProviderError,
|
|
30
|
+
MatelabTransportError,
|
|
31
|
+
MatelabUsageError,
|
|
32
|
+
MatelabVerificationError,
|
|
33
|
+
)
|
|
34
|
+
from matelab.groups import GroupCollection, GroupMember, GroupRef, GroupSummary
|
|
35
|
+
from matelab.literature import (
|
|
36
|
+
DoiMetadataSource,
|
|
37
|
+
ExtractedLiteratureAuthor,
|
|
38
|
+
ExtractedLiteratureMetadata,
|
|
39
|
+
LiteratureCitation,
|
|
40
|
+
LiteratureComment,
|
|
41
|
+
LiteratureCommentDeleteResult,
|
|
42
|
+
LiteratureCommentDraft,
|
|
43
|
+
LiteratureCommentRef,
|
|
44
|
+
LiteratureCommentSaveResult,
|
|
45
|
+
LiteratureCreateResult,
|
|
46
|
+
LiteratureCreationSchema,
|
|
47
|
+
LiteratureDetail,
|
|
48
|
+
LiteratureField,
|
|
49
|
+
LiteratureItemRef,
|
|
50
|
+
LiteratureItemSummary,
|
|
51
|
+
LiteratureLibraries,
|
|
52
|
+
LiteratureLibraryRef,
|
|
53
|
+
LiteratureLibrarySummary,
|
|
54
|
+
LiteratureMetadata,
|
|
55
|
+
LiteratureMetadataSource,
|
|
56
|
+
LiteratureNestedField,
|
|
57
|
+
LiteraturePage,
|
|
58
|
+
LiteraturePdf,
|
|
59
|
+
LiteraturePdfDeleteResult,
|
|
60
|
+
LiteraturePdfReplaceResult,
|
|
61
|
+
LiteraturePermanentDeleteResult,
|
|
62
|
+
LiteratureShareResult,
|
|
63
|
+
LiteratureSource,
|
|
64
|
+
LiteratureStoredMetadata,
|
|
65
|
+
LiteratureUpdateResult,
|
|
66
|
+
PendingLiteratureShare,
|
|
67
|
+
PendingLiteratureShareComment,
|
|
68
|
+
PendingLiteratureShareRef,
|
|
69
|
+
PersonalLiteratureItemRef,
|
|
70
|
+
PersonalLiteratureLibraryRef,
|
|
71
|
+
SharedLiteratureItemRef,
|
|
72
|
+
SharedLiteratureLibraryRef,
|
|
73
|
+
StagedPdfMetadataSource,
|
|
74
|
+
)
|
|
75
|
+
from matelab.models import Identity, Session, Token
|
|
76
|
+
from matelab.notebooks import (
|
|
77
|
+
NotebookCollection,
|
|
78
|
+
NotebookCreateResult,
|
|
79
|
+
NotebookListField,
|
|
80
|
+
NotebookMetadata,
|
|
81
|
+
NotebookRef,
|
|
82
|
+
NotebookShare,
|
|
83
|
+
NotebookSharePermissionGrant,
|
|
84
|
+
NotebookShareRef,
|
|
85
|
+
NotebookShareResult,
|
|
86
|
+
NotebookShares,
|
|
87
|
+
NotebookShareUpdateResult,
|
|
88
|
+
NotebookSummary,
|
|
89
|
+
NotebookUnshareResult,
|
|
90
|
+
NotebookUpdateResult,
|
|
91
|
+
PublicNotebookRef,
|
|
92
|
+
PublicNotebookSummary,
|
|
93
|
+
)
|
|
94
|
+
from matelab.records import (
|
|
95
|
+
BlankRecordCreateResult,
|
|
96
|
+
DeletedRecordPage,
|
|
97
|
+
DeletedRecordRef,
|
|
98
|
+
DeletedRecordSummary,
|
|
99
|
+
ExportedRecord,
|
|
100
|
+
PublicRecordCollection,
|
|
101
|
+
PublicRecordRef,
|
|
102
|
+
PublicRecordSummary,
|
|
103
|
+
Record,
|
|
104
|
+
RecordAttachmentLocation,
|
|
105
|
+
RecordAttachmentRef,
|
|
106
|
+
RecordCollection,
|
|
107
|
+
RecordComment,
|
|
108
|
+
RecordCommentAttachmentRef,
|
|
109
|
+
RecordCommentDeleteResult,
|
|
110
|
+
RecordCommentDraft,
|
|
111
|
+
RecordCommentRef,
|
|
112
|
+
RecordComments,
|
|
113
|
+
RecordCommentSaveResult,
|
|
114
|
+
RecordCopyResult,
|
|
115
|
+
RecordDeleteResult,
|
|
116
|
+
RecordExport,
|
|
117
|
+
RecordFieldExtraction,
|
|
118
|
+
RecordFilesAttachmentAppend,
|
|
119
|
+
RecordFilesAttachmentRemoval,
|
|
120
|
+
RecordFilesAttachmentReplacement,
|
|
121
|
+
RecordFormAttachmentRemoval,
|
|
122
|
+
RecordImportItem,
|
|
123
|
+
RecordImportResult,
|
|
124
|
+
RecordImportTemplate,
|
|
125
|
+
RecordLocator,
|
|
126
|
+
RecordModuleCreation,
|
|
127
|
+
RecordModuleDeletion,
|
|
128
|
+
RecordPage,
|
|
129
|
+
RecordPageContext,
|
|
130
|
+
RecordPagePermissions,
|
|
131
|
+
RecordPatch,
|
|
132
|
+
RecordRef,
|
|
133
|
+
RecordRelation,
|
|
134
|
+
RecordRelationAddResult,
|
|
135
|
+
RecordRelationDeleteResult,
|
|
136
|
+
RecordRelationRef,
|
|
137
|
+
RecordRelations,
|
|
138
|
+
RecordRestoreResult,
|
|
139
|
+
RecordRichTextUpdate,
|
|
140
|
+
RecordSearchMatch,
|
|
141
|
+
RecordSearchResult,
|
|
142
|
+
RecordSignature,
|
|
143
|
+
RecordSubtypeSummary,
|
|
144
|
+
RecordSummary,
|
|
145
|
+
RecordTableAttachmentReplacement,
|
|
146
|
+
RecordUpdateResult,
|
|
147
|
+
RecordValueAddition,
|
|
148
|
+
RecordValueDeletion,
|
|
149
|
+
RecordValueUpdate,
|
|
150
|
+
RecordVersionRef,
|
|
151
|
+
RecordVersionSummary,
|
|
152
|
+
RelatedRecordIdentity,
|
|
153
|
+
StagedRecordAttachment,
|
|
154
|
+
StagedRecordCommentAttachment,
|
|
155
|
+
)
|
|
156
|
+
from matelab.streaming import ByteRange, DownloadStream
|
|
157
|
+
from matelab.templates import (
|
|
158
|
+
TemplateCollection,
|
|
159
|
+
TemplateContent,
|
|
160
|
+
TemplateContentSaveResult,
|
|
161
|
+
TemplateCopyResult,
|
|
162
|
+
TemplateGroupAddResult,
|
|
163
|
+
TemplateGroupRemoveResult,
|
|
164
|
+
TemplateIntroUpdateResult,
|
|
165
|
+
TemplateLibraryEntryRef,
|
|
166
|
+
TemplateLibraryRelationKind,
|
|
167
|
+
TemplateLibraryRemovalResult,
|
|
168
|
+
TemplateMarketAcquireResult,
|
|
169
|
+
TemplateMarketEntry,
|
|
170
|
+
TemplateMarketPage,
|
|
171
|
+
TemplateMarketSubmissionResult,
|
|
172
|
+
TemplateMetadata,
|
|
173
|
+
TemplateMetadataResult,
|
|
174
|
+
TemplateModule,
|
|
175
|
+
TemplateRef,
|
|
176
|
+
TemplateShareResult,
|
|
177
|
+
TemplateSource,
|
|
178
|
+
TemplateSummary,
|
|
179
|
+
)
|
|
180
|
+
from matelab.uploads import (
|
|
181
|
+
StagedFile,
|
|
182
|
+
StagedFileFragment,
|
|
183
|
+
StagedUploadAbortResult,
|
|
184
|
+
StagedUploadSession,
|
|
185
|
+
UploadBindingRef,
|
|
186
|
+
)
|
|
187
|
+
from matelab.users import UserRef, UserSearchResult, UserSearchScope, UserSummary
|
|
188
|
+
|
|
189
|
+
__all__ = [
|
|
190
|
+
"AsyncMatelab",
|
|
191
|
+
"BlankRecordCreateResult",
|
|
192
|
+
"ByteRange",
|
|
193
|
+
"CloudDriveListing",
|
|
194
|
+
"CloudDriveLocation",
|
|
195
|
+
"CloudDriveOrder",
|
|
196
|
+
"CloudDriveQuota",
|
|
197
|
+
"CloudDriveRoot",
|
|
198
|
+
"CloudDriveRootPermissions",
|
|
199
|
+
"CloudDriveRootRef",
|
|
200
|
+
"CloudFile",
|
|
201
|
+
"CloudFileBindResult",
|
|
202
|
+
"CloudFileMoveResult",
|
|
203
|
+
"CloudFilePage",
|
|
204
|
+
"CloudFilePermanentDeleteResult",
|
|
205
|
+
"CloudFileRef",
|
|
206
|
+
"CloudFileUpdateResult",
|
|
207
|
+
"CloudFolder",
|
|
208
|
+
"CloudFolderDeleteResult",
|
|
209
|
+
"CloudFolderMetadata",
|
|
210
|
+
"CloudFolderMoveResult",
|
|
211
|
+
"CloudFolderRef",
|
|
212
|
+
"CloudFolderSaveResult",
|
|
213
|
+
"CloudFolderTree",
|
|
214
|
+
"DeletedRecordPage",
|
|
215
|
+
"DeletedRecordRef",
|
|
216
|
+
"DeletedRecordSummary",
|
|
217
|
+
"DoiMetadataSource",
|
|
218
|
+
"DownloadStream",
|
|
219
|
+
"ExportedRecord",
|
|
220
|
+
"ExtractedLiteratureAuthor",
|
|
221
|
+
"ExtractedLiteratureMetadata",
|
|
222
|
+
"GroupCollection",
|
|
223
|
+
"GroupMember",
|
|
224
|
+
"GroupRef",
|
|
225
|
+
"GroupSummary",
|
|
226
|
+
"Identity",
|
|
227
|
+
"LiteratureCitation",
|
|
228
|
+
"LiteratureComment",
|
|
229
|
+
"LiteratureCommentDeleteResult",
|
|
230
|
+
"LiteratureCommentDraft",
|
|
231
|
+
"LiteratureCommentRef",
|
|
232
|
+
"LiteratureCommentSaveResult",
|
|
233
|
+
"LiteratureCreateResult",
|
|
234
|
+
"LiteratureCreationSchema",
|
|
235
|
+
"LiteratureDetail",
|
|
236
|
+
"LiteratureField",
|
|
237
|
+
"LiteratureItemRef",
|
|
238
|
+
"LiteratureItemSummary",
|
|
239
|
+
"LiteratureLibraries",
|
|
240
|
+
"LiteratureLibraryRef",
|
|
241
|
+
"LiteratureLibrarySummary",
|
|
242
|
+
"LiteratureMetadata",
|
|
243
|
+
"LiteratureMetadataSource",
|
|
244
|
+
"LiteratureNestedField",
|
|
245
|
+
"LiteraturePage",
|
|
246
|
+
"LiteraturePdf",
|
|
247
|
+
"LiteraturePdfDeleteResult",
|
|
248
|
+
"LiteraturePdfReplaceResult",
|
|
249
|
+
"LiteraturePermanentDeleteResult",
|
|
250
|
+
"LiteratureShareResult",
|
|
251
|
+
"LiteratureSource",
|
|
252
|
+
"LiteratureStoredMetadata",
|
|
253
|
+
"LiteratureUpdateResult",
|
|
254
|
+
"MatelabAuthenticationError",
|
|
255
|
+
"MatelabError",
|
|
256
|
+
"MatelabProtocolError",
|
|
257
|
+
"MatelabProviderError",
|
|
258
|
+
"MatelabTransportError",
|
|
259
|
+
"MatelabUsageError",
|
|
260
|
+
"MatelabVerificationError",
|
|
261
|
+
"NotebookCollection",
|
|
262
|
+
"NotebookCreateResult",
|
|
263
|
+
"NotebookListField",
|
|
264
|
+
"NotebookMetadata",
|
|
265
|
+
"NotebookRef",
|
|
266
|
+
"NotebookShare",
|
|
267
|
+
"NotebookSharePermissionGrant",
|
|
268
|
+
"NotebookShareRef",
|
|
269
|
+
"NotebookShareResult",
|
|
270
|
+
"NotebookShareUpdateResult",
|
|
271
|
+
"NotebookShares",
|
|
272
|
+
"NotebookSummary",
|
|
273
|
+
"NotebookUnshareResult",
|
|
274
|
+
"NotebookUpdateResult",
|
|
275
|
+
"PendingLiteratureShare",
|
|
276
|
+
"PendingLiteratureShareComment",
|
|
277
|
+
"PendingLiteratureShareRef",
|
|
278
|
+
"PersonalLiteratureItemRef",
|
|
279
|
+
"PersonalLiteratureLibraryRef",
|
|
280
|
+
"PublicNotebookRef",
|
|
281
|
+
"PublicNotebookSummary",
|
|
282
|
+
"PublicRecordCollection",
|
|
283
|
+
"PublicRecordRef",
|
|
284
|
+
"PublicRecordSummary",
|
|
285
|
+
"Record",
|
|
286
|
+
"RecordAttachmentLocation",
|
|
287
|
+
"RecordAttachmentRef",
|
|
288
|
+
"RecordCollection",
|
|
289
|
+
"RecordComment",
|
|
290
|
+
"RecordCommentAttachmentRef",
|
|
291
|
+
"RecordCommentDeleteResult",
|
|
292
|
+
"RecordCommentDraft",
|
|
293
|
+
"RecordCommentRef",
|
|
294
|
+
"RecordCommentSaveResult",
|
|
295
|
+
"RecordComments",
|
|
296
|
+
"RecordCopyResult",
|
|
297
|
+
"RecordDeleteResult",
|
|
298
|
+
"RecordExport",
|
|
299
|
+
"RecordFieldExtraction",
|
|
300
|
+
"RecordFilesAttachmentAppend",
|
|
301
|
+
"RecordFilesAttachmentRemoval",
|
|
302
|
+
"RecordFilesAttachmentReplacement",
|
|
303
|
+
"RecordFormAttachmentRemoval",
|
|
304
|
+
"RecordImportItem",
|
|
305
|
+
"RecordImportResult",
|
|
306
|
+
"RecordImportTemplate",
|
|
307
|
+
"RecordLocator",
|
|
308
|
+
"RecordModuleCreation",
|
|
309
|
+
"RecordModuleDeletion",
|
|
310
|
+
"RecordPage",
|
|
311
|
+
"RecordPageContext",
|
|
312
|
+
"RecordPagePermissions",
|
|
313
|
+
"RecordPatch",
|
|
314
|
+
"RecordRef",
|
|
315
|
+
"RecordRelation",
|
|
316
|
+
"RecordRelationAddResult",
|
|
317
|
+
"RecordRelationDeleteResult",
|
|
318
|
+
"RecordRelationRef",
|
|
319
|
+
"RecordRelations",
|
|
320
|
+
"RecordRestoreResult",
|
|
321
|
+
"RecordRichTextUpdate",
|
|
322
|
+
"RecordSearchMatch",
|
|
323
|
+
"RecordSearchResult",
|
|
324
|
+
"RecordSignature",
|
|
325
|
+
"RecordSubtypeSummary",
|
|
326
|
+
"RecordSummary",
|
|
327
|
+
"RecordTableAttachmentReplacement",
|
|
328
|
+
"RecordUpdateResult",
|
|
329
|
+
"RecordValueAddition",
|
|
330
|
+
"RecordValueDeletion",
|
|
331
|
+
"RecordValueUpdate",
|
|
332
|
+
"RecordVersionRef",
|
|
333
|
+
"RecordVersionSummary",
|
|
334
|
+
"RelatedRecordIdentity",
|
|
335
|
+
"Session",
|
|
336
|
+
"SharedLiteratureItemRef",
|
|
337
|
+
"SharedLiteratureLibraryRef",
|
|
338
|
+
"StagedFile",
|
|
339
|
+
"StagedFileFragment",
|
|
340
|
+
"StagedPdfMetadataSource",
|
|
341
|
+
"StagedRecordAttachment",
|
|
342
|
+
"StagedRecordCommentAttachment",
|
|
343
|
+
"StagedUploadAbortResult",
|
|
344
|
+
"StagedUploadSession",
|
|
345
|
+
"TemplateCollection",
|
|
346
|
+
"TemplateContent",
|
|
347
|
+
"TemplateContentSaveResult",
|
|
348
|
+
"TemplateCopyResult",
|
|
349
|
+
"TemplateGroupAddResult",
|
|
350
|
+
"TemplateGroupRemoveResult",
|
|
351
|
+
"TemplateIntroUpdateResult",
|
|
352
|
+
"TemplateLibraryEntryRef",
|
|
353
|
+
"TemplateLibraryRelationKind",
|
|
354
|
+
"TemplateLibraryRemovalResult",
|
|
355
|
+
"TemplateMarketAcquireResult",
|
|
356
|
+
"TemplateMarketEntry",
|
|
357
|
+
"TemplateMarketPage",
|
|
358
|
+
"TemplateMarketSubmissionResult",
|
|
359
|
+
"TemplateMetadata",
|
|
360
|
+
"TemplateMetadataResult",
|
|
361
|
+
"TemplateModule",
|
|
362
|
+
"TemplateRef",
|
|
363
|
+
"TemplateShareResult",
|
|
364
|
+
"TemplateSource",
|
|
365
|
+
"TemplateSummary",
|
|
366
|
+
"Token",
|
|
367
|
+
"UploadBindingRef",
|
|
368
|
+
"UserRef",
|
|
369
|
+
"UserSearchResult",
|
|
370
|
+
"UserSearchScope",
|
|
371
|
+
"UserSummary",
|
|
372
|
+
]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""Private generated wire implementation. Do not import from consumer code."""
|