pybib
pybib is an easy way to get citations for your LaTeX document. Instead of typing out BibTeX entries yourself, just give pybib the Digital Object Identifier (DOI) of the resource you want to cite and it will get all the information for you. Then, you can just add the citation it gives you to your BibTeX file.
Installation
The package is available on PyPi and can be installed with the following command:
$ pip3 install --user pybibFor user-only installs, pip installs scripts to the directory
~/.local/bin, so make sure it’s in your path. If you would prefer to
install it system-wide, just leave out the --user flag.
Usage examples
Get a citation:
$ bib get 10.1112/plms/s2-42.1.230Get a citation and add it to your bibliography file:
$ bib get 10.1145/159544.159617 >> citations.bibGet a citation and add it to your bibliography file, running it through
bibtool first to format the entry and auto-generate a citation key:
$ bib get 10.1145/159544.159617 | bibtool >> citations.bibSearching
Search for a resource:
$ bib search name of the resourceGet the citation for search result number N:
$ bib search name of the resource --get NTroubleshooting
If you encounter any problems, please open an issue so I can rectify them as soon as possible.