Skip to content

Instantly share code, notes, and snippets.

@danbe
danbe / zotero.py
Last active March 5, 2024 09:41
Library for creating Zotero items from Python. Connects to a local Zotero repository running in Firefox through MozRepl.
# -*- coding: utf-8 -*-
from collections import namedtuple
import json
import urllib.parse
#import telnetlib
import time
import os.path
import filecmp
import random
import string