Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/urschrei/pyzotero
/ types & classes
Types & classes
62 in github.com/urschrei/pyzotero
⨍
Functions
335
◇
Types & classes
62
↳
Endpoints
18
↓ 69 callers
Class
MockClient
Mock HTTP client with request recording.
tests/mock_client.py:115
↓ 4 callers
Class
Zotero
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 callers
Class
FileTransport
src/pyzotero/filetransport.py:69
↓ 2 callers
Class
Zupload
Zotero file attachment helper. Receives a Zotero instance, file(s) to upload, and optional parent ID.
src/pyzotero/_upload.py:28
↓ 1 callers
Class
AsyncClient
src/pyzotero/filetransport.py:144
↓ 1 callers
Class
CaseInsensitiveDict
A dict that allows case-insensitive key access.
tests/mock_client.py:14
↓ 1 callers
Class
MockRoute
A mocked route definition.
tests/mock_client.py:72
↓ 1 callers
Class
PaperNotFoundError
Raised when a paper is not found.
src/pyzotero/semantic_scholar.py:53
↓ 1 callers
Class
RateLimitError
Raised when API rate limit is exceeded.
src/pyzotero/semantic_scholar.py:46
↓ 1 callers
Class
RecordedRequest
Captured request for inspection.
tests/mock_client.py:46
↓ 1 callers
Class
SavedSearch
Saved search functionality. See https://github.com/zotero/zotero/blob/master/chrome/content/zotero/xpcom/data/searchConditions.js
src/pyzotero/_search.py:17
↓ 1 callers
Class
SemanticScholarError
Base exception for Semantic Scholar API errors.
src/pyzotero/semantic_scholar.py:42
↓ 1 callers
Class
TooManyRetriesError
Raise after the backoff period for new requests exceeds 32s.
src/pyzotero/errors.py:93
Class
BibDatabase
Protocol for bibtexparser.bparser.BibTexParser result. The BibDatabase object has an entries attribute containing parsed BibTeX entries.
src/pyzotero/_types.py:224
Class
CallDoesNotExistError
Raised if the specified API call doesn't exist.
src/pyzotero/errors.py:27
Class
Client
src/pyzotero/filetransport.py:135
Class
ConflictError
409 - Raised when the target library is locked.
src/pyzotero/errors.py:65
Class
CouldNotReachURLError
Raised when we can't reach a URL.
src/pyzotero/errors.py:61
Class
CreateItemsResponse
Response from create_items API call.
src/pyzotero/_types.py:129
Class
FeedParserEntry
Protocol for feedparser entry objects.
src/pyzotero/_types.py:193
Class
FeedParserFeed
Protocol for feedparser feed object.
src/pyzotero/_types.py:200
Class
FeedParserResult
Protocol for feedparser.parse() result. feedparser returns a FeedParserDict which is a dict subclass with attribute access.
src/pyzotero/_types.py:207
Class
FileDoesNotExistError
Raised when a file path to be attached can't be opened (or doesn't exist).
src/pyzotero/errors.py:89
Class
HTTPError
Raised for miscellaneous HTTP errors.
src/pyzotero/errors.py:57
Class
InvalidItemFieldsError
Raised when an attempt is made to create/update items w/invalid fields.
src/pyzotero/errors.py:49
Class
MissingCredentialsError
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
Class
NormalisedPaper
A normalised paper from Semantic Scholar.
src/pyzotero/_types.py:155
Class
PaginatedPaperResult
Paginated result containing papers.
src/pyzotero/_types.py:176
Class
ParamNotPassedError
Raised if a parameter which is required isn't passed.
src/pyzotero/errors.py:23
Class
PreConditionFailedError
412 - Raised when the provided X-Zotero-Write-Token has already been submitted.
src/pyzotero/errors.py:69
Class
PreConditionRequiredError
428 - Raised when If-Match or If-None-Match was not provided.
src/pyzotero/errors.py:79
Class
PyZoteroError
Generic parent exception for all Pyzotero errors.
src/pyzotero/errors.py:19
Class
RecommendationsResult
Result from recommendations API.
src/pyzotero/_types.py:184
Class
RequestEntityTooLargeError
413 - The upload would exceed the storage quota of the library owner.
src/pyzotero/errors.py:75
Class
ResourceNotFoundError
Raised when a resource (item, collection etc.) could not be found.
src/pyzotero/errors.py:53
Class
S2Author
A Semantic Scholar author.
src/pyzotero/_types.py:148
Class
TestFindRelated
tests/test_mcp.py:270
Class
TestGetChildren
tests/test_mcp.py:210
Class
TestGetCitations
tests/test_mcp.py:309
Class
TestGetFulltext
tests/test_mcp.py:258
Class
TestGetItem
tests/test_mcp.py:194
Class
TestGetReferences
tests/test_mcp.py:330
Class
TestListCollections
tests/test_mcp.py:222
Class
TestListTags
tests/test_mcp.py:247
Class
TestSearch
tests/test_mcp.py:145
Class
TestSearchSemanticScholar
tests/test_mcp.py:349
Class
TooManyItemsError
Raised when too many items are passed to a Write API method.
src/pyzotero/errors.py:39
Class
TooManyRequestsError
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
Class
UnsupportedParamsError
Raised when unsupported parameters are passed.
src/pyzotero/errors.py:31
Class
UploadError
Raise if the connection drops during upload or some other non-HTTP error code is returned.
src/pyzotero/errors.py:97
Class
UploadResult
Result from file upload operations.
src/pyzotero/_types.py:137
Class
UserNotAuthorisedError
Raised when the user is not allowed to retrieve the resource.
src/pyzotero/errors.py:35
Class
ZoteroClientProtocol
Protocol for the Zotero client, used for typing in dependent modules.
src/pyzotero/_types.py:238
Class
ZoteroCollection
A Zotero collection as returned by the API.
src/pyzotero/_types.py:115
Class
ZoteroCollectionData
The data payload of a Zotero collection.
src/pyzotero/_types.py:106
Class
ZoteroCreator
A creator (author, editor, etc.) of a Zotero item.
src/pyzotero/_types.py:25
Class
ZoteroItem
A full Zotero item as returned by the API.
src/pyzotero/_types.py:95
Class
ZoteroItemData
The data payload of a Zotero item.
src/pyzotero/_types.py:41
Class
ZoteroLibrary
Library information for a Zotero item.
src/pyzotero/_types.py:77
Class
ZoteroMeta
Metadata for a Zotero item.
src/pyzotero/_types.py:86
Class
ZoteroTag
A tag attached to a Zotero item.
src/pyzotero/_types.py:34
Class
ZoteroTests
Tests for pyzotero
tests/test_zotero.py:31