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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file bibtools-pkg-0.1.16.tar.gz.

File metadata

  • Download URL: bibtools-pkg-0.1.16.tar.gz
  • Upload date:
  • Size: 18.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for bibtools-pkg-0.1.16.tar.gz
Algorithm Hash digest
SHA256 f5ebed84f85086f8617996608abd024dc5cacb80ef3c026a5c89d25cf6633e70
MD5 8176aa1dbdb70cf7fda8f893a0783735
BLAKE2b-256 9cb98e73511ad2d0bc05e49094b4952a6d43710e56458deae98c734861a600e9

See more details on using hashes here.

File details

Details for the file bibtools_pkg-0.1.16-py3-none-any.whl.

File metadata

  • Download URL: bibtools_pkg-0.1.16-py3-none-any.whl
  • Upload date:
  • Size: 19.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for bibtools_pkg-0.1.16-py3-none-any.whl
Algorithm Hash digest
SHA256 6b480fe4379ceac27bc85aca97404d3d2014af6a65b5f5798bd9bdbb5e133ac1
MD5 f93e40c8b69100b7217d7483c5332ff1
BLAKE2b-256 7cdc04b6b42f85e303b19eb561f5218954ad40fcf057f624c88bc77ccf4d6a49

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