Fetch citation information, given a Digital Object Identifier
Project description
pybib is a super-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. Easy!
Installation
The package is available on PyPi and can be installed with the following command:
$ pip3 install --user pybib
For 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.230
Get a citation and add it to your bibliography file:
$ bib get 10.1145/159544.159617 >> citations.bib
Get 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.bib
Searching
Search for a resource:
$ bib search name of the resource
Get the citation for search result number N:
$ bib search name of the resource --get N
Troubleshooting
If you encounter any problems, please open an issue so I can rectify them as soon as possible.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for pybib-2.2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9585b67a8729183c9710cee31ed7705497b87c80f0ba01043f20ba2abe902dfa |
|
MD5 | be1286e3af806e0b5e738120e0c8f73e |
|
BLAKE2b-256 | 6ceb78c95c3c5bc381bdc939a9ffb29c8f2a88711bbf4eb2e2b929b5d004c4ed |