MCPcopy Create free account

hub / github.com/urschrei/pyzotero / types & classes

Types & classes62 in github.com/urschrei/pyzotero

↓ 69 callersClassMockClient
Mock HTTP client with request recording.
tests/mock_client.py:115
↓ 4 callersClassZotero
Zotero API methods. A full list of methods can be found here: http://www.zotero.org/support/dev/server_api
src/pyzotero/_client.py:60
↓ 2 callersClassFileTransport
src/pyzotero/filetransport.py:69
↓ 2 callersClassZupload
Zotero file attachment helper. Receives a Zotero instance, file(s) to upload, and optional parent ID.
src/pyzotero/_upload.py:28
↓ 1 callersClassAsyncClient
src/pyzotero/filetransport.py:144
↓ 1 callersClassCaseInsensitiveDict
A dict that allows case-insensitive key access.
tests/mock_client.py:14
↓ 1 callersClassMockRoute
A mocked route definition.
tests/mock_client.py:72
↓ 1 callersClassPaperNotFoundError
Raised when a paper is not found.
src/pyzotero/semantic_scholar.py:53
↓ 1 callersClassRateLimitError
Raised when API rate limit is exceeded.
src/pyzotero/semantic_scholar.py:46
↓ 1 callersClassRecordedRequest
Captured request for inspection.
tests/mock_client.py:46
↓ 1 callersClassSavedSearch
Saved search functionality. See https://github.com/zotero/zotero/blob/master/chrome/content/zotero/xpcom/data/searchConditions.js
src/pyzotero/_search.py:17
↓ 1 callersClassSemanticScholarError
Base exception for Semantic Scholar API errors.
src/pyzotero/semantic_scholar.py:42
↓ 1 callersClassTooManyRetriesError
Raise after the backoff period for new requests exceeds 32s.
src/pyzotero/errors.py:93
ClassBibDatabase
Protocol for bibtexparser.bparser.BibTexParser result. The BibDatabase object has an entries attribute containing parsed BibTeX entries.
src/pyzotero/_types.py:224
ClassCallDoesNotExistError
Raised if the specified API call doesn't exist.
src/pyzotero/errors.py:27
ClassClient
src/pyzotero/filetransport.py:135
ClassConflictError
409 - Raised when the target library is locked.
src/pyzotero/errors.py:65
ClassCouldNotReachURLError
Raised when we can't reach a URL.
src/pyzotero/errors.py:61
ClassCreateItemsResponse
Response from create_items API call.
src/pyzotero/_types.py:129
ClassFeedParserEntry
Protocol for feedparser entry objects.
src/pyzotero/_types.py:193
ClassFeedParserFeed
Protocol for feedparser feed object.
src/pyzotero/_types.py:200
ClassFeedParserResult
Protocol for feedparser.parse() result. feedparser returns a FeedParserDict which is a dict subclass with attribute access.
src/pyzotero/_types.py:207
ClassFileDoesNotExistError
Raised when a file path to be attached can't be opened (or doesn't exist).
src/pyzotero/errors.py:89
ClassHTTPError
Raised for miscellaneous HTTP errors.
src/pyzotero/errors.py:57
ClassInvalidItemFieldsError
Raised when an attempt is made to create/update items w/invalid fields.
src/pyzotero/errors.py:49
ClassMissingCredentialsError
Raised when an attempt is made to create a Zotero instance without providing both the user ID and the user key.
src/pyzotero/errors.py:43
ClassNormalisedPaper
A normalised paper from Semantic Scholar.
src/pyzotero/_types.py:155
ClassPaginatedPaperResult
Paginated result containing papers.
src/pyzotero/_types.py:176
ClassParamNotPassedError
Raised if a parameter which is required isn't passed.
src/pyzotero/errors.py:23
ClassPreConditionFailedError
412 - Raised when the provided X-Zotero-Write-Token has already been submitted.
src/pyzotero/errors.py:69
ClassPreConditionRequiredError
428 - Raised when If-Match or If-None-Match was not provided.
src/pyzotero/errors.py:79
ClassPyZoteroError
Generic parent exception for all Pyzotero errors.
src/pyzotero/errors.py:19
ClassRecommendationsResult
Result from recommendations API.
src/pyzotero/_types.py:184
ClassRequestEntityTooLargeError
413 - The upload would exceed the storage quota of the library owner.
src/pyzotero/errors.py:75
ClassResourceNotFoundError
Raised when a resource (item, collection etc.) could not be found.
src/pyzotero/errors.py:53
ClassS2Author
A Semantic Scholar author.
src/pyzotero/_types.py:148
ClassTestFindRelated
tests/test_mcp.py:270
ClassTestGetChildren
tests/test_mcp.py:210
ClassTestGetCitations
tests/test_mcp.py:309
ClassTestGetFulltext
tests/test_mcp.py:258
ClassTestGetItem
tests/test_mcp.py:194
ClassTestGetReferences
tests/test_mcp.py:330
ClassTestListCollections
tests/test_mcp.py:222
ClassTestListTags
tests/test_mcp.py:247
ClassTestSearch
tests/test_mcp.py:145
ClassTestSearchSemanticScholar
tests/test_mcp.py:349
ClassTooManyItemsError
Raised when too many items are passed to a Write API method.
src/pyzotero/errors.py:39
ClassTooManyRequestsError
429 - Raised when there are too many unfinished uploads. Try again after the number of seconds specified in the Retry-After header.
src/pyzotero/errors.py:83
ClassUnsupportedParamsError
Raised when unsupported parameters are passed.
src/pyzotero/errors.py:31
ClassUploadError
Raise if the connection drops during upload or some other non-HTTP error code is returned.
src/pyzotero/errors.py:97
ClassUploadResult
Result from file upload operations.
src/pyzotero/_types.py:137
ClassUserNotAuthorisedError
Raised when the user is not allowed to retrieve the resource.
src/pyzotero/errors.py:35
ClassZoteroClientProtocol
Protocol for the Zotero client, used for typing in dependent modules.
src/pyzotero/_types.py:238
ClassZoteroCollection
A Zotero collection as returned by the API.
src/pyzotero/_types.py:115
ClassZoteroCollectionData
The data payload of a Zotero collection.
src/pyzotero/_types.py:106
ClassZoteroCreator
A creator (author, editor, etc.) of a Zotero item.
src/pyzotero/_types.py:25
ClassZoteroItem
A full Zotero item as returned by the API.
src/pyzotero/_types.py:95
ClassZoteroItemData
The data payload of a Zotero item.
src/pyzotero/_types.py:41
ClassZoteroLibrary
Library information for a Zotero item.
src/pyzotero/_types.py:77
ClassZoteroMeta
Metadata for a Zotero item.
src/pyzotero/_types.py:86
ClassZoteroTag
A tag attached to a Zotero item.
src/pyzotero/_types.py:34
ClassZoteroTests
Tests for pyzotero
tests/test_zotero.py:31