Skip to main content

Generate a bibtex given a doi

Project description

Description

doi2bib is a module of bibcureand scihub2pdf

Install

$ sudo pip install doi2bib

or if you want the full version

$ sudo pip install bibcure

Features and how to use

Given a DOI number…

$ doi2bib 10.1038/s41524-017-0032-0
  • get bib item given a doi(requires internet connection)

You can easily append a bib into a bibfile, just do

$ doi2bib 10.1038/s41524-017-0032-0 >> file.bib

You also can generate a bibtex from a txt file containing a list of DOIs

$ doi2bib --input file_with_dois.txt --output refs.bib

bibcure

Given a bib file…

$ bibcure -i input.bib -o output.bib
  • check sure the Arxiv items have been published, then update them(requires internet connection)

  • complete all fields(url, journal, etc) of all bib items using DOI number(requires internet connection)

  • find and create DOI number associated with each bib item which has not DOI field(requires internet connection)

  • abbreviate jorunals names

title2bib

Given a title…

$ title2bib An useful paper
  • search papers related and return a bib for the selected paper(requires internet connection)

You can easily append a bib into a bibfile, just do

$ title2bib An useful paper --first >> file.bib

You also can generate a bibtex from a txt file containing a list of “titles”

$ title2bib --input file_with_titles.txt --output refs.bib --first

arxivcheck

Given a arxiv id…

$ arxivcheck 1601.02785
  • check if has been published, and then returns the updated bib (requires internet connection)

Given a title…

$ arxivcheck --title An useful paper published on arxiv

search papers related and return a bib the first item. You can easily append a bib into a bibfile, just do

$ arxivcheck --title An useful paper published on arxiv >> file.bib

You also can interact with results, just pass –ask parameter

$ arxivcheck --ask --title An useful paper published on arxiv

scihub2pdf

Given a bibtex file

$ scihub2pdf -i input.bib

Given a DOI number…

$ scihub2pdf 10.1038/s41524-017-0032-0

Given a title…

$ scihub2bib --title An useful paper

Location folder as argument

$ scihub2pdf -i input.bib -l somefoler/

Use libgen instead sci-hub

$ scihub2pdf -i input.bib --uselibgen

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

doi2bib-0.4.0-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

doi2bib-0.4.0-py2-none-any.whl (6.0 kB view details)

Uploaded Python 2

File details

Details for the file doi2bib-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: doi2bib-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.1.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.3

File hashes

Hashes for doi2bib-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 09401f766b1533c6d17d428ba26c65433009478f1b8d67a2b7f32871e9e8f90d
MD5 bd1ab2400dd7f424c71da5c52c0666b2
BLAKE2b-256 eca06dd085ee0856e8c0ea39c5851bdf6fc72da392f734dca66b070b89dd1bf8

See more details on using hashes here.

File details

Details for the file doi2bib-0.4.0-py2-none-any.whl.

File metadata

  • Download URL: doi2bib-0.4.0-py2-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.1.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.3

File hashes

Hashes for doi2bib-0.4.0-py2-none-any.whl
Algorithm Hash digest
SHA256 4a2e2a14df4cff1f6cf2c1de4fda3545f6f6f76ef7f331ae81a582472042cb67
MD5 a8acf575d6e270a123b8e08e8af6517d
BLAKE2b-256 eab84aae81b574351ff396685e0e7aba5a8d289eef0ca52029f5185afe64d6c2

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