Skip to main content

A package to transfer Lens publications in csv format to Zotero

Project description

LensToZotero

Transfer Lens publications in csv format to Zotero

Quickstart

  1. pip install LensToZotero
  2. You'll need the ID of the personal or group library you want to access:
    • Your personal library ID is available here, in the section Your userID for use in API calls
    • For group libraries, the ID can be found by opening the group's page: https://www.zotero.org/groups/groupname, and hovering over the group settings link. The ID is the integer after /groups/
  3. You'll also need† to get an API key here:
    • Press "Allow write access" button, when you create your key
  4. Are you accessing your own Zotero library? library_type is 'user'
  5. Are you accessing a shared group library? library_type is 'group'.

Then create a file settings.txt:

filePath doc_name.csv
library_id your_id
library_type user
api_key your_api_key

And place setting.txt and doc_name.csv near the root of the called function.

Using

Example:

from LensToZotero.LensToZotero import transfer

transfer("settings.txt")

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

LensToZotero-0.1.4.tar.gz (15.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

LensToZotero-0.1.4-py3-none-any.whl (16.3 kB view details)

Uploaded Python 3

File details

Details for the file LensToZotero-0.1.4.tar.gz.

File metadata

  • Download URL: LensToZotero-0.1.4.tar.gz
  • Upload date:
  • Size: 15.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.7

File hashes

Hashes for LensToZotero-0.1.4.tar.gz
Algorithm Hash digest
SHA256 96d7c4ee6b899006075722775d55bc02bb69a5335abd48ebd18ee0d10f4bff19
MD5 92cdb451ca54143bd03b5ebfd2486851
BLAKE2b-256 6e12ced3de92cce4c62493862067deb5fd1f1020d6ace95e63ec22613897dc57

See more details on using hashes here.

File details

Details for the file LensToZotero-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: LensToZotero-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 16.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.7

File hashes

Hashes for LensToZotero-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 9a52f97dcf70a4343f57451a1f3116ae79cb53fdf544e962978bbe05d2593845
MD5 4f43f6114ff8207291aaf51171e4c60d
BLAKE2b-256 7730372f1c4c1a31a11b2ee078a0dafa73b4f8db7731e6041b5a9264c0442aa3

See more details on using hashes here.

Supported by

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