Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Interacts with Zotero libraries via the pyzotero Python client to manage items, collections, tags, attachments, and exports.
88% 100%+12 ptsof test cases passed
Passed 25 of 25 test cases with the skill, and 22 of 25 without it.
3 of 3 safety checks passed
Not used yet
Pyzotero can retrieve and set full-text index content for attachment items.
# Get full-text content for a specific attachment item
data = zot.fulltext_item('ATTACHMENTKEY')
# Returns:
# {
# "content": "Full text of the document...",
# "indexedPages": 50,
# "totalPages": 50
# }
# For text docs: indexedChars/totalChars instead of pages
text = data['content']
coverage = data['indexedPages'] / data['totalPages']
# Get item keys with full-text updated since a library version
new_fulltext = zot.new_fulltext(since='1085')
# Returns dict: {'KEY1': 1090, 'KEY2': 1095, ...}
# Values are the library version at which full-text was indexed
# Set full-text for a PDF attachment
payload = {
'content': 'The full text content of the document.',
'indexedPages': 50,
'totalPages': 50
}
zot.set_fulltext('ATTACHMENTKEY', payload)
Published skills whose descriptions closely match this one, with their benchmark result.
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.