Module Import alias Import alias Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Import alias identifier ImportFrom alias ClassDef bases body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr BinOpAdd Str AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr BinOpBitAnd BinOpBitAnd CompareEq AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr CompareEq AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr CompareEq AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Dict For TupleStore NameStore NameStore NameStore NameLoad body If UnaryOpNot CompareIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Dict Str NameLoad If CompareEq NameLoad Str body Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index Str SubscriptLoad NameLoad Slice Num orelse Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr BinOpBitAnd BinOpBitAnd CompareEq AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr CompareEq AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr CompareEq AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad NameLoad attr For TupleStore NameStore NameStore NameStore NameLoad body If UnaryOpNot CompareIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Dict Str NameLoad If UnaryOpNot CompareIn Str SubscriptLoad NameLoad Index NameLoad body Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index Str ListLoad Expr Call AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str attr TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr BinOpBitAnd CompareEq AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr CompareEq AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Assign NameStore Call AttributeLoad NameLoad attr For TupleStore NameStore NameStore NameLoad body If UnaryOpNot CompareIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Dict Str NameLoad If UnaryOpNot CompareIn Str SubscriptLoad NameLoad Index NameLoad body Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index Str ListLoad Expr Call AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr CompareEq AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad NameLoad attr For TupleStore NameStore NameStore NameLoad body If UnaryOpNot CompareIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Dict Str NameLoad If UnaryOpNot CompareIn Str SubscriptLoad NameLoad Index NameLoad body Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index Str ListLoad Expr Call AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr BinOpBitAnd CompareEq AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr CompareEq AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Dict For TupleStore NameStore NameStore NameLoad body If UnaryOpNot CompareIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call NameLoad Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad If UnaryOpNot CompareIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Dict Str NameLoad If UnaryOpNot CompareIn Str SubscriptLoad NameLoad Index NameLoad body Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index Str Call NameLoad Expr Call AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str attr NameLoad Assign AttributeStore NameLoad attr DictComp NameLoad Call NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad kwarg body Assign NameStore ListComp TupleLoad NameLoad Call AttributeLoad NameLoad attr NameLoad comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If UnaryOpNot NameLoad body Return ListLoad If NameLoad body Return ListLoad SubscriptLoad SubscriptLoad Call NameLoad NameLoad keyword Lambda arguments args NameParam defaults SubscriptLoad NameLoad Index Num keyword NameLoad Index Num Index Num Return ListComp SubscriptLoad NameLoad Index Num comprehension NameStore Call NameLoad Lambda arguments args NameParam defaults CompareGt SubscriptLoad NameLoad Index Num Num NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list decorator_list FunctionDef arguments args defaults body Print Str decorator_list FunctionDef arguments args defaults body If CompareLt Call NameLoad AttributeLoad NameLoad attr Num body Expr Call NameLoad Return Assign NameStore Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr If CompareEq NameLoad Str body Expr Call NameLoad Return orelse If CompareEq NameLoad Str body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num ImportFrom alias Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr ImportFrom alias Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad If CompareGt Call NameLoad AttributeLoad NameLoad attr Num body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Slice Num orelse Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr If CompareIn NameLoad TupleLoad Str Str body Assign NameStore Dict Assign NameStore Num Assign NameStore Str While CompareLt NameLoad Call NameLoad NameLoad body If UnaryOpNot CompareIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad ListLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad If Call AttributeLoad NameLoad attr Str body Assign NameStore SubscriptLoad NameLoad Slice Num orelse Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad AugAssignAdd NameStore Num Assign NameStore Call AttributeLoad NameLoad attr keyword CompareEq NameLoad Str NameLoad For NameStore NameLoad body Print Call NameLoad NameLoad Str orelse If CompareIn NameLoad TupleLoad Str Str body For NameStore ListComp Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr comprehension NameStore NameLoad body Print NameLoad orelse If CompareIn NameLoad TupleLoad Str Str Str body For NameStore ListComp Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr comprehension NameStore NameLoad body Print NameLoad orelse If CompareEq NameLoad Str body For NameStore ListComp SubscriptLoad AttributeLoad NameLoad attr Index NameLoad comprehension NameStore NameLoad body If Call NameLoad NameLoad Str body For NameStore AttributeLoad NameLoad attr body Print Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr orelse If CompareEq NameLoad Str body For NameStore NameLoad body Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr AttributeLoad NameLoad attr orelse If CompareEq NameLoad Str body For NameStore ListComp SubscriptLoad AttributeLoad NameLoad attr Index NameLoad comprehension NameStore NameLoad body If Call NameLoad NameLoad Str body For NameStore AttributeLoad NameLoad attr body Print NameLoad orelse If CompareEq NameLoad Str body For NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Print NameLoad orelse Expr Call NameLoad Return decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A os N/A sys N/A N/A reload sys N/A N/A N/A sys setdefaultencoding utf-8 N/A sqlalchemy sql item Item Zotero N/A N/A __init__ N/A N/A self zotero_dir N/A N/A N/A N/A self zotero_dir zotero_dir N/A N/A self zotero_db_path N/A N/A N/A os path abspath N/A N/A N/A os path join zotero_dir zotero.sqlite N/A N/A self zotero_storage_path N/A N/A N/A os path join zotero_dir storage/ N/A N/A N/A N/A N/A os path exists N/A self zotero_db_path N/A N/A N/A Exception N/A Zotero db not found at %s. N/A self zotero_db_path N/A N/A self db N/A N/A sql create_engine N/A sqlite:/// N/A self zotero_db_path N/A N/A N/A self db echo False N/A N/A self metadata N/A N/A sql MetaData N/A self db N/A N/A self items N/A N/A sql Table items N/A self metadata autoload True N/A N/A self fields N/A N/A sql Table fields N/A self metadata autoload True N/A N/A self item_data N/A N/A sql Table itemData N/A self metadata autoload True N/A N/A self item_data_values N/A N/A sql Table itemDataValues N/A self metadata autoload True N/A N/A self item_attachments N/A N/A sql Table itemAttachments N/A self metadata autoload True N/A N/A self collections N/A N/A sql Table collections N/A self metadata autoload True N/A N/A self collection_items N/A N/A sql Table collectionItems N/A self metadata autoload True N/A N/A self item_creators N/A N/A sql Table itemCreators N/A self metadata autoload True N/A N/A self creators N/A N/A sql Table creators N/A self metadata autoload True N/A N/A self creator_data N/A N/A sql Table creatorData N/A self metadata autoload True N/A N/A self item_notes N/A N/A sql Table itemNotes N/A self metadata autoload True N/A N/A N/A self get_items N/A get_items N/A N/A self N/A N/A N/A query N/A N/A sql select N/A N/A N/A N/A self items c key N/A N/A N/A self fields c fieldName N/A N/A N/A self item_data_values c value N/A N/A N/A N/A N/A N/A self items c itemID N/A N/A N/A self item_data c itemID N/A N/A N/A N/A self item_data c fieldID N/A N/A N/A self fields c fieldID N/A N/A N/A N/A self item_data c valueID N/A N/A N/A self item_data_values c valueID N/A result N/A N/A query execute N/A items N/A N/A N/A key field_name value result N/A N/A N/A N/A key items N/A N/A N/A items N/A key N/A key key N/A N/A field_name date N/A N/A N/A N/A items N/A key N/A year N/A value N/A 4 N/A N/A N/A N/A items N/A key N/A field_name value N/A query N/A N/A sql select N/A N/A N/A N/A self items c key N/A N/A N/A self creator_data c lastName N/A N/A N/A self creator_data c firstName N/A N/A N/A N/A N/A N/A self items c itemID N/A N/A N/A self item_creators c itemID N/A N/A N/A N/A self creators c creatorID N/A N/A N/A self item_creators c creatorID N/A N/A N/A N/A self creators c creatorDataID N/A N/A N/A self creator_data c creatorDataID N/A result N/A N/A query execute N/A N/A key last first result N/A N/A N/A N/A key items N/A N/A N/A items N/A key N/A key key N/A N/A N/A authors N/A items N/A key N/A N/A N/A N/A items N/A key N/A authors N/A N/A N/A N/A N/A N/A items N/A key N/A authors append N/A last first N/A query N/A N/A sql select N/A N/A N/A N/A self items c key N/A N/A N/A self item_attachments c path N/A N/A N/A N/A N/A self items c itemID N/A N/A N/A self item_attachments c itemID N/A N/A N/A N/A self item_attachments c mimeType application/pdf N/A result N/A N/A query execute N/A N/A key path result N/A N/A N/A N/A key items N/A N/A N/A items N/A key N/A key key N/A N/A N/A attachments N/A items N/A key N/A N/A N/A N/A items N/A key N/A attachments N/A N/A N/A N/A N/A N/A items N/A key N/A attachments append path N/A query N/A N/A sql select N/A N/A N/A N/A self items c key N/A N/A N/A self item_notes c note N/A N/A N/A N/A self items c itemID N/A N/A N/A self item_notes c itemID N/A result N/A N/A query execute N/A N/A key note result N/A N/A N/A N/A key items N/A N/A N/A items N/A key N/A key key N/A N/A N/A notes N/A items N/A key N/A N/A N/A N/A items N/A key N/A notes N/A N/A N/A N/A N/A N/A items N/A key N/A notes append note N/A query N/A N/A sql select N/A N/A N/A N/A self collections c collectionName N/A N/A N/A self items c key N/A N/A N/A N/A N/A self collections c collectionID N/A N/A N/A self collection_items c collectionID N/A N/A N/A N/A self collection_items c itemID N/A N/A N/A self items c itemID N/A result N/A N/A query execute N/A collections N/A N/A N/A collection key result N/A N/A N/A N/A collection collections N/A N/A N/A collections N/A collection N/A set N/A N/A N/A N/A collections N/A collection add key N/A N/A N/A key items N/A N/A N/A items N/A key N/A key key N/A N/A N/A collections N/A items N/A key N/A N/A N/A N/A items N/A key N/A collections N/A set N/A N/A N/A N/A N/A items N/A key N/A collections add collection N/A N/A self all_items N/A k N/A Item v N/A N/A k v N/A N/A items items N/A search N/A N/A self best N/A False kwargs N/A N/A matches N/A N/A item N/A N/A item match kwargs N/A item N/A N/A N/A self all_items values N/A N/A matches N/A N/A N/A N/A best N/A N/A N/A N/A N/A N/A sorted matches key N/A N/A N/A m N/A N/A m N/A 1 reverse True N/A 0 N/A 0 N/A N/A N/A m N/A 0 N/A m N/A filter N/A N/A N/A m N/A N/A N/A m N/A 1 0 matches N/A read N/A N/A self keys N/A N/A N/A N/A notes N/A N/A self keys N/A N/A N/A N/A add_note N/A N/A self key note_txt N/A N/A N/A N/A bib N/A N/A self keys N/A N/A N/A N/A N/A help_msg N/A N/A N/A N/A N/A Usage: zot (command) (args)
    
Commands:
    search [keywords]: return keys of all matching items
    best [keywords]: return key of best search match
    bib [keys]: view bibliography for one or more items
    cit [keys]: view citations for one or more items
    files [keys]: view all attached files for one or more items
    read [keys]: view text content of attached PDFs for one or more items
    notes [keys]: view all notes for one or more items
    path (zotero_dir): set the path to your Zotero directory
    help N/A main N/A N/A N/A N/A N/A N/A N/A len N/A sys argv 2 N/A N/A N/A help_msg N/A N/A command N/A N/A N/A N/A sys argv N/A 1 lower N/A N/A command help N/A N/A N/A help_msg N/A N/A N/A N/A command path N/A N/A arg N/A N/A sys argv N/A 2 settings write_zotero_dir N/A N/A write_zotero_dir arg N/A N/A N/A sys exit settings get_zotero_dir N/A zotero_dir N/A get_zotero_dir N/A z N/A Zotero zotero_dir N/A N/A N/A len N/A sys argv 2 N/A N/A args N/A N/A sys argv N/A 2 N/A N/A args N/A N/A line N/A sys __stdin__ N/A N/A N/A N/A args append N/A N/A line strip N/A N/A command N/A search best N/A N/A search_args N/A N/A n 0 N/A set_arg keywords N/A N/A n N/A len args N/A N/A N/A N/A set_arg search_args N/A N/A N/A search_args N/A set_arg N/A N/A arg N/A args N/A n N/A N/A N/A arg startswith -- N/A N/A set_arg N/A arg N/A 2 N/A N/A N/A N/A N/A search_args N/A set_arg append arg N/A n 1 N/A result N/A N/A z search best N/A command best search_args N/A i result N/A N/A N/A getattr i key N/A N/A N/A command N/A bib bibliography N/A N/A result N/A N/A N/A N/A N/A z all_items N/A key bibliography N/A key args N/A N/A result N/A N/A N/A command N/A cit cite citation N/A N/A result N/A N/A N/A N/A N/A z all_items N/A key citation N/A key args N/A N/A result N/A N/A N/A command files N/A N/A result N/A N/A N/A z all_items N/A key N/A key args N/A N/A N/A hasattr result attachments N/A N/A attachment N/A result attachments N/A N/A N/A N/A result format_filename attachment N/A z zotero_storage_path N/A N/A N/A command read N/A N/A key args N/A N/A N/A N/A N/A N/A z all_items N/A key get_full_text N/A z zotero_storage_path N/A N/A N/A command notes N/A N/A result N/A N/A N/A z all_items N/A key N/A key args N/A N/A N/A hasattr result notes N/A N/A note N/A result notes N/A N/A note N/A N/A N/A command debug N/A N/A i N/A N/A item __dict__ N/A item N/A N/A N/A z all_items values N/A N/A i N/A N/A N/A help_msg N/A N/A N/A N/A __name__ __main__ N/A N/A N/A main