pyzotero

Featured

Interact with Zotero reference management libraries using the pyzotero Python client. Retrieve, create, update, and delete items, collections, tags, and attachments via the Zotero Web API v3. Use this skill when working with Zotero libraries programmatically, managing bibliographic references, exporting citations, searching library contents, uploading PDF attachments, or building research automation workflows that integrate with Zotero.

AI & Automation 882 stars 76 forks Updated 1 months ago MIT

Install

View on GitHub

Quality Score: 93/100

Stars 20%
98
Recency 20%
75
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Pyzotero Pyzotero is a Python wrapper for the [Zotero API v3](https://www.zotero.org/support/dev/web_api/v3/start). Use it to programmatically manage Zotero libraries: read items and collections, create and update references, upload attachments, manage tags, and export citations. ## Authentication Setup **Required credentials** — get from https://www.zotero.org/settings/keys: - **User ID**: shown as "Your userID for use in API calls" - **API Key**: create at https://www.zotero.org/settings/keys/new - **Library ID**: for group libraries, the integer after `/groups/` in the group URL Store credentials in environment variables or a `.env` file: ``` ZOTERO_LIBRARY_ID=your_user_id ZOTERO_API_KEY=your_api_key ZOTERO_LIBRARY_TYPE=user # or "group" ``` See [references/authentication.md](references/authentication.md) for full setup details. ## Installation ```bash uv add pyzotero # or with CLI support: uv add "pyzotero[cli]" ``` ## Quick Start ```python from pyzotero import Zotero zot = Zotero(library_id='123456', library_type='user', api_key='ABC1234XYZ') # Retrieve top-level items (returns 100 by default) items = zot.top(limit=10) for item in items: print(item['data']['title'], item['data']['itemType']) # Search by keyword results = zot.items(q='machine learning', limit=20) # Retrieve all items (use everything() for complete results) all_items = zot.everything(zot.items()) ``` ## Core Concepts - A `Zotero` instance is bound to a single library (user or group). ...

Details

Author
LeonChaoX
Repository
LeonChaoX/qinyan-academic-skills
Created
6 months ago
Last Updated
1 months ago
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

Data & Documents Listed

zotero

This skill should be used when working with a Zotero library — summarizing or reading attached PDFs, organizing items into collections, tagging, adding notes, linking related items, or batch-processing references. Trigger on "Zotero", "my library", "references", "organize my papers/notes", "summarize these PDFs" in a research-library context. Covers the local read API, pyzotero for writes, and direct storage reads for bulk PDF work.

0 Updated 2 days ago
moiri-gamboni
AI & Automation Listed

zotero

Control a local Zotero library via the `zot` CLI (read API + the zotero-agent bridge write endpoint): search, read, create, edit, tag, organize into collections, delete, export, and run arbitrary Zotero JS. Use whenever the user wants to query or modify their library, bulk-edit references, fields or tags, manage tags or collections, find items missing metadata (no abstract/date/DOI), get library stats, export citations or format bibliographies, add items by DOI/ISBN/arXiv, find and merge duplicates, or create notes on items. Also for PDFs: read or ask questions about an item's PDF, summarize it at multiple levels (whole/chapter/section), read its highlights/annotations, generate a table of contents / bookmarks / outline for Zotero's reader, and prepare scans — split two-up pages and OCR them to make them searchable. Also to see where disk space goes or reclaim it: shrink oversized PDFs, drop orphan attachments and page snapshots. Requires the zotero-agent bridge plugin installed and Zotero running.

6 Updated 2 weeks ago
alex-roc
AI & Automation Solid

cli-anything-zotero

Full-featured CLI for Zotero reference management. Search, import by DOI/PMID, export BibTeX, attach PDFs, semantic search, manage tags/collections, and more. Use this tool whenever you need to interact with a Zotero library programmatically.

132 Updated 1 months ago
PiaoyangGuohai1