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}

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.15.tar.gz (18.8 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: bibtools-pkg-0.1.15.tar.gz
  • Upload date:
  • Size: 18.8 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.15.tar.gz
Algorithm Hash digest
SHA256 d7716bd100d2404c27f40322cdeceb74e1adb10f29a5bf40520b76e01dfdc0b1
MD5 5bfb8a59ae3bb7a4cc51442cdbd4928a
BLAKE2b-256 253e2e71857f1af3b682270b32ff320f218c81a60c1e09e9bc70eb5d2c9915e8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bibtools_pkg-0.1.15-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.15-py3-none-any.whl
Algorithm Hash digest
SHA256 649c1d0aede1f48e1012d52e809068c6091003139f0e88c0e4c8f7d590f8662d
MD5 c8a000e3f0c4565235f0451de776afff
BLAKE2b-256 7b7c8f1f14a0f7178098dad62d734161593c382e490ca06a4a16fd724ba14368

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