A module for managing zotfiles files
Project description
Zotero Sync
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
Built Distribution
File details
Details for the file zotero-sync-0.1.6.tar.gz
.
File metadata
- Download URL: zotero-sync-0.1.6.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.10 CPython/3.8.5 Linux/5.8.1-arch1-3-surface
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | de071544ff6855888d724944d3846cc425e0171e4e47749b0e30de0e213565a4 |
|
MD5 | a35f10af273983f01df41e6828387d48 |
|
BLAKE2b-256 | ce2b75ae471f1c0094f9b1f755af3ebf4c5e41d9aa438e3887103268465941eb |
File details
Details for the file zotero_sync-0.1.6-py3-none-any.whl
.
File metadata
- Download URL: zotero_sync-0.1.6-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.10 CPython/3.8.5 Linux/5.8.1-arch1-3-surface
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | daabcaced209b7718b030a717fd52543b380ea35759cbb6f74c6afdd7a6af29d |
|
MD5 | 43897d2de85e5ee577a893cf07e95d36 |
|
BLAKE2b-256 | 0d2d45783aa3e9bc5ee08b04b1836a4ce398263d3445c00f0c20183775f750fd |