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("doc_name.csv")

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.2.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.2-py3-none-any.whl (16.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: LensToZotero-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 bf33e47348e7254faa4130897a764f2a3f3da026b393caed0bb3085a2b83ada0
MD5 9bac826e768ed05ef546731ba4daea76
BLAKE2b-256 e1009fbdd51751fc910fbba0c258c99c499ce97cf46adabcda9001a552660c81

See more details on using hashes here.

File details

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

File metadata

  • Download URL: LensToZotero-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 31855c2c6b267f630ac3422667af60d6568e97e6529d2b5c439d4f0a9b629d07
MD5 cd6dd127ddc36e807b7b63af52d22110
BLAKE2b-256 2e4d1bb53db62ce576582b5f71c97d48e5c92afd472c94fe168d88aedfcc1b86

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