Skip to content

phillipyan300/ZoteroSync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

ZoteroSync

A Python program for users to bulk download files with annotations from Zotero to a local repository and then upload their edits. Features include customizability with a user-specified directory, duplication control, and automatic detection and implementation of uploading new or edited files via a PDFDictionary log to keep track of changes on your local repository compared to Zotero's file repository.

Flow Chart of a single upload:

flowchart TD
    A[init SingleUploadZoteroAPI] --> B(upload)
    B --> C{_searchForPdfKeyInUserLibrary}
    C -->|Key Exists| D[_delete]
    C -->|Key Does Not Exist| E[_getZoteroDocumentTemplate]
    subgraph _updateItem 
    D --> E
    subgraph _uploadNewItem
    E --> F[_sendTemplate]
    F --> G[_addToDictionary]
    G --> H{_uploadCheck}
    H --> |Zotero Allows Upload| I[_fileUpload]
    end
    end
    H --> |Zotero Does Not Allow Upload, return False| return
    I --> |return True| return
Loading

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages