Skip to main content

A tool to get bibtex entries from DOIs or PDFs

Project description

kbib: A tool to get bibtex entries from DOIs or PDFs.

Alt text Alt text Alt text Alt text Alt text Alt text

⚡ Features

  1. Get bibtex entry from DOI.
  2. Get bibtex entry from article pdf.
  3. Get full list of references of an article as bibtex entries.

🐱‍🏍 Installation

Download and install the latest package from the release section or directly by pip

pip install kbib

For parsing bibtex information from PDF files, optional dependencies need to be installed

pip install kbib['pdf']

🚀 Usage

Use the command line tool kbib as

kbib [-h] [-bib DOI] [-ref DOI] [-pdf [PDF [PDF ...]]] [-o DOI]
Argument Description
-bib DOI to get bibtex entry
-ref DOI to get bibtex entries for all the references
-pdf PDF file name(s) to get DOI
-o Output bib file
  • Get bibtex from a DOI
    kbib -bib https://doi.org/10xxxxxx
    
  • Get bibtex from a DOI and store in a file 'ref.bib'
    kbib -bib https://doi.org/10xxxxxx -o ref.bib
    
  • Get the full reference list of an article as bibtex entries and save as ref.bib
    kbib -ref https://doi.org/10xxxxxx -o ref.bib
    
  • Get bibtex from a PDF named article.pdf
    kbib -pdf article.pdf
    
  • Get bibtex from all pdf in the current folder
    kbib -pdf *.pdf
    

⚓Limitation:

Currently it parses DOI information from Crossref API. So if the article is not indexed in Crossref database this tool will fail to get the necessary information.

⚒ Work-in-Progress:

  1. Concurrent API calls for faster parsing of bibtex information.
  2. Set bibtex entry keys in a predefined format.
  3. Use abbreviated journal names.

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

kbib-0.1.3.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

kbib-0.1.3-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file kbib-0.1.3.tar.gz.

File metadata

  • Download URL: kbib-0.1.3.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.14

File hashes

Hashes for kbib-0.1.3.tar.gz
Algorithm Hash digest
SHA256 2f29bf4fb914a3cc458b3a07fa644e0050330d5c83a6c0f4bcc41b926f2acb5b
MD5 1b0cafcd2b009348e7be56e7ec9e463a
BLAKE2b-256 3d6ce8d7a82a42d800ffe5e7727cddd972e839bd2d3005150ec0195372412e1f

See more details on using hashes here.

Provenance

File details

Details for the file kbib-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: kbib-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.14

File hashes

Hashes for kbib-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 057440c60ebe059d668b829f3985ab3b178d8b67dab33c446d7ef19058912089
MD5 b96ce956ea37460a5ef9d3322f46e8c9
BLAKE2b-256 0b7486f6cb2b03442febc77805889b53bf37e947bf6f86d1f7d4e6e05ea608f5

See more details on using hashes here.

Provenance

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