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

Uploaded Source

Built Distribution

bibtools_pkg-0.1.12-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bibtools-pkg-0.1.12.tar.gz
  • Upload date:
  • Size: 15.0 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.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for bibtools-pkg-0.1.12.tar.gz
Algorithm Hash digest
SHA256 9db1d963590779f1d84c1329b45c3287ced9690638716e31e5eb82a1d46fe577
MD5 e9640d644bd00f47b93c42093fbc4a50
BLAKE2b-256 0a051fa10f502f1e38fd310d1a5167bde1205bf37b9ab1c6b1702cbba7a0b950

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bibtools_pkg-0.1.12-py3-none-any.whl
  • Upload date:
  • Size: 15.0 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.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for bibtools_pkg-0.1.12-py3-none-any.whl
Algorithm Hash digest
SHA256 fe0eaaddc324b92ea041298e5d8e656c4f536b49d3bc8942f2db98acf4c10016
MD5 036057268c72874d70a95bf01c227903
BLAKE2b-256 1edb1cd71206f53aee37322305722c693ec07ec8806f73c9d43c3b321bbe74c4

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