Skip to main content

A module for managing zotfiles files

Project description

Zotero Sync

demo

Back up your data when using this script. I have not lost any, but I can't make any guarantees.

A simple module for updating zotflies directories. You can use this to delete redundant files or upload newly added files from the filesystem. It works by looking at every reference you have on zotero.org (you don't need to have files uploaded to make this work) and then compares the paths of those attachements to the ones in you zotfile directory. If there are any on your zotfile directory that aren't in your zotfile cloud, you can choose to "trash" or "upload" them.

Installation

pip install zotero_sync

Usage

Go and create a new api key at https://www.zotero.org/settings/keys. Take note of the api key and also take note of the line that says "Your userID for use in API calls is ***"

Create a .zoterosync file in your home directory:

# ~/.zoterosync

ZOTFILE_DIR='***'
USER_ID = '***'
API_KEY = '***'

For information on script usage.

zotero_sync --help

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zotero-sync-0.1.6.tar.gz (4.8 kB view hashes)

Uploaded Source

Built Distribution

zotero_sync-0.1.6-py3-none-any.whl (5.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page