• Stars
    star
    246
  • Rank 163,757 (Top 4 %)
  • Language
    Python
  • License
    MIT License
  • Created over 8 years ago
  • Updated almost 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Command-line interface for Zotero

zotero-cli

asciicast

A simple command-line interface for the Zotero API.

Currently the following features are supported:

  • Search for items in the library
  • Add/Edit notes for existing items
  • Launch reader application for item attachments
  • Edit notes with a text editor of your choice in any format supported by pandoc (markdown, reStructuredText, etc.)

Installation

zotero-cli can be trivially installed from PyPi with pip:

$ pip install zotero-cli

If you want to try the bleeding-edge version:

$ pip install git+git://github.com/jbaiter/zotero-cli.git@master

Usage

To change the editor on *nix systems, set the VISUAL environment variable.

If you want to use a markup format other than pandoc's markdown, edit the configuration file under ~/.config/zotcli/config.ini and set the note_format field to your desired value (as seen in pandoc --help).

First, perform the initial configuration to generate an API key for the application:

$ zotcli configure

Search for an item:

$ zotcli query "deep learning"
[F5R83K6P] Goodfellow et al.: Deep Learning

Query strings with whitespace must be enclosed in quotes. For details on the supported syntax, consult the SQLite FTS documentation. Briefly, supported are AND/OR/NOT operators and prefix-search via the Kleene operator (e.g. pref*).

Read an item's attachment:

$ zotcli read "deep learning"
# Will launch the default PDF viewer with the item's first PDF attachment

Add a new note to an item using either the item's ID or a query string to locate it:

$ zotcli add-note "deep learning"
# Edit note in editor, save and it will be added to the library

If more than one item is found for the query string, you will be prompted which one to use.

Edit an existing note (you can use a query string instead of an ID, too):

$ zotcli edit-note F5R83K6P
# Edit note in editor, save and it will be updated in the library

More Repositories

1

jpegtran-cffi

Fast, (mostly) lossless JPEG transformations with Python
C
144
star
2

pyomxplayer

Python wrapper around OMXPlayer for the Raspberry Pi
Python
104
star
3

python-rust-fst

Python bindings for Rust's fst crate
Python
47
star
4

gphoto2-cffi

Python bindings for libgphoto2 with an idiomatic API
Python
36
star
5

demetsiiify

Web service for creating and hosting IIIF manifests from METS/MODS documents
Python
31
star
6

pdiiif

Create PDFs from IIIF manifests, completely client-side (with server-based fallback for unsupported browsers)
TypeScript
27
star
7

hocrviewer-mirador

View HOCR files with Mirador
Python
23
star
8

beetfs

A beets FUSE filesystem
Python
20
star
9

archiscribe

Web application for transcribing OCR ground truth from Archive.org
Go
16
star
10

chdkptp.py

Python bindings for chdkptp
Python
13
star
11

plugin.video.mubi

MUBI Plugin for XBMC
Python
12
star
12

hocrviewer-old

Display books in hOCR format using the OpenLibrary BookReader
JavaScript
11
star
13

wav2msu

Utility to convert a RIFF Wave file to a MSU1-compatible format
C
9
star
14

archiscribe-corpus

Repository for 19th century German fraktur lines transcribed via archiscribe.jbaiter.de
8
star
15

ff4msu

Romhack to provide MSU1-support for Final Fantasy II/IV (SNES)
Assembly
7
star
16

mirador3-plugin-dev-tutorial

Tutorial for Mirador 3 Plugin Development
JavaScript
7
star
17

mocri

Small gRPC microservice for OCR based on kraken
Python
5
star
18

mubipy

Python module to access MUBI.com functionality
Python
5
star
19

mopidy-kodi

Mopidy extension for playing music from your Kodi library
Python
4
star
20

pyragarga

Python module to scrape karagarga.net
Python
3
star
21

hidapi-cffi

Python bindings for hidapi via CFFI
Python
3
star
22

epeg-cffi

Python bindings for 'epeg': "Insanely fast JPEG/ JPG thumbnail scaling with the minimum fuss and CPU overhead."
C
3
star
23

tei2hocr

XSLT Stylesheet to convert TEI OCR data to HOCR
XSLT
2
star
24

iiif_dhberlin

CSS
2
star
25

kenlm-java

Java SWIG Wrapper around kenlm
Java
1
star
26

bass.vim

VIM syntax highlighting for the the 'bass' assembler
Vim Script
1
star
27

az-ner-corpus

Named Entity Recognition corpus for "Allgemeine Zeitung"
PLpgSQL
1
star
28

annotare

Minimalist responsive tagging of linguistic resources
Clojure
1
star
29

kinoknecht

a film/video library written in Python/SQLAlchemy/Flask
1
star
30

cantaloupe-docker

Docker setup for Cantaloupe based on Dockerfile from MIT
Dockerfile
1
star
31

sz_epaper

Command-Line utility to download the PDF E-Paper of the "Sรผddeutsche Zeitung"
Python
1
star