Skip to main content

Import Zotero annotations with Dendron integration

Project description

Zendron

Version: 1.0.7

Introduction

  • This package was developed for porting Zotero annotations and metadata to markdown. These markdown notes are then brought into a Dendron hierarchy for integration with vault notes. We recommend using the package within Visual Studio Code.The end goal is to get a two way sync between notes in Zotero and notes in Dendron, but this has some difficulties and limitations that are taking some time to address. For now only a one way sync from Zotero to Dendron is supported.

Install Instructions

  • It is recommended to build a conda env for installation.
  • Install Dendron CLI.
    • npm install -g @dendronhq/dendron-cli@latest
  • Install the zendron
    • python -m pip install zendron

Zotero and File Import Configuration

All zendron configuration is handled in config.yml.

library_id : 4932032 # Zotero library ID
library_type : group # [user, group] library
api_key : FoCauOvWMlNdYmpYuY5JplTw # Zotero API key
collection: null # Name of Zotero Collection, null for entire library
item_types: [journalArticle, book, preprint, conferencePaper, report] # List of item types according to [pyzotero](https://pyzotero.readthedocs.io/en/latest/)
local_image_path: /Users/<username>/Zotero/cache # Local path for importing annotated images
dendron_limb: zendron.import # Dendron import limb e.g. zendron.import.paper-title.annotations.md
zotero_comment_title: zendron comment # fixed for now... needed for eventual 2-way sync.
pod_path: zotero_pod # Name of dendron pod, removed

Basic Usage

There are only two basic commands that work as of now.

  • zendron
    • This command imports notes according to a defined config.yml.
    • Notes are imported with a ## Time Created heading. This allows for stable reference from other notes, within the note vault. We autogenerate a *.comments.md that should be used for taking any additional notes within Dendron. Addition notes taken within the meta data file (notes/zendron.import.<paper-title>.md), or the *.annotations.md will be overwritten after running zendron for a second time.
  • zendron-remove
    • This command removes all imported notes and associated links. We run a createMissingLinkedNotes following the deletion of Dendron notes to repopulate tags and users that will be removed on running zendron-remove.

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

zendron-1.0.7.tar.gz (19.7 kB view details)

Uploaded Source

Built Distribution

zendron-1.0.7-py3-none-any.whl (25.1 kB view details)

Uploaded Python 3

File details

Details for the file zendron-1.0.7.tar.gz.

File metadata

  • Download URL: zendron-1.0.7.tar.gz
  • Upload date:
  • Size: 19.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for zendron-1.0.7.tar.gz
Algorithm Hash digest
SHA256 04d0b6ee27c0743cde14daf3dfe614a0e326af2b11c0b1cc64320bdffba5d50c
MD5 e47db271d3bdbba862a5d4eaa100de45
BLAKE2b-256 a0a646a4fd1ec1d2ded21f24037bed32d9aee3a16e9837e194dd8c562d931e6c

See more details on using hashes here.

File details

Details for the file zendron-1.0.7-py3-none-any.whl.

File metadata

  • Download URL: zendron-1.0.7-py3-none-any.whl
  • Upload date:
  • Size: 25.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for zendron-1.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 f2acf32aedb02ab6f2aad2210046d74b9ed0b736b0846c313841822fd258e2b7
MD5 c5bee586f9deaaf5f422d2e92aeafa95
BLAKE2b-256 6ec0667441008ae581f4cc717a8d9d62c4bb1ef98adb42dd63aebb9dfd78cda4

See more details on using hashes here.

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