Skip to main content

Utils for pubmed, scihub and bibtex

Project description

bibtools - 0.1

Retrieve papers and metadata from the command-line.

Intended for papers referenced in MedLine/PubMed.

Install

pip3 install bibtools-pkg

Use

Generic

Returns exact matches when using unique identifiers (PMID, DOI).

Fetch PubMed Central for open-access papers as well as Sci-Hub:

bibtools -i PMID # Single PMID or DOI

bibtools -i PMID1,PMID2 # Comma-separated PMIDs and/or DOIs

bibtools -i pmids.dat # List file of PMIDs (or DOIs), one per line

bibtools -i PMID -b # Generate bibtex from MedLine citation data

bibtools -i PMID -p /path/to/directory # With custom storage path. Default is current working directory

Examples

Working calls:

bibtools -i 25809265

bibtools -i 10.1016/j.bpj.2015.01.032

bibtools -i 25809265,10.1016/j.jmr.2007.04.002

bibtools -i 25809265,10.1016/j.jmr.2007.04.002 -b -c

Help

To show help:

bibtools -h

Which returns:

bibtools

https://github.com/synthaze/bibtools <florian.malard@gmail.com>

Usage:
  bibtools OPTION...

Options:
  -h, --help             show help
  -i, --input=STRING     comma-separated PMIDs or DOIs
  -l, --list=FILE        list of PMIDs or DOIs, one per line
  -p, --path=STRING      path where to write files
  -b, --bibtex           write bibtex files
  -c, --cite             print latex style TITLE~\cite{header}
  -a, --abstract         print latex style ABSTRACT~\cite{header}

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

bibtools-pkg-0.1.16.tar.gz (18.9 kB view hashes)

Uploaded Source

Built Distribution

bibtools_pkg-0.1.16-py3-none-any.whl (19.8 kB view hashes)

Uploaded Python 3

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