Skip to main content

Fetch BibTeX citation information, given a Digital Object Identifier

Project description

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 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


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 Distribution

pybib-2.3.2-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file pybib-2.3.2-py3-none-any.whl.

File metadata

  • Download URL: pybib-2.3.2-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.9 CPython/3.7.7 Linux/4.4.0-17134-Microsoft

File hashes

Hashes for pybib-2.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ea4a802760053bd01c1a358ef69eeda84a05a4d376582b1d89c06f88d1cba960
MD5 ca3348484dee13c166106bc4ea4425a0
BLAKE2b-256 d9121da3e903c0dfa49c6241306922fd767fb1be84fb2d749f708b2fa43ff472

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page