Structs§
- Selection
- Selection
Entry - A single paper in a selection. Stores as much metadata as resolved.
If
zotero_keyis None, the paper has not been matched to the local Zotero library; metadata can be used later to prompt the user to download it. - Selection
State
Enums§
Functions§
- active_
selection_ name - delete_
selection - entry_
matches_ doi - entry_
matches_ key - entry_
matches_ openalex - entry_
matches_ remove_ input - Match a removal input against an entry (by key, OA ID, DOI, or title substring).
- list_
selection_ names - List all selection names (sorted alphabetically).
- load_
selection - load_
state - looks_
like_ doi - looks_
like_ openalex_ work_ id - resolve_
paper - Resolve a paper input string to a SelectionEntry. Tries Zotero first (if available), then OpenAlex. Merges metadata from both.
- resolve_
selection - Resolve a name-or-index string to a selection name. Accepts 1-based index or case-insensitive exact name match.
- save_
selection - save_
state - selections_
dir - Returns the selections directory, allowing
PAPERS_DATA_DIRenv var override (used by tests). Falls back todirs::data_dir()/papers/selections. - strip_
doi_ prefix - validate_
name