bibpy.doi package

Tools for downloading bibtex files from digital object identifiers.

bibpy.doi.retrieve(doi, source='https://doi.org/{0}', raw=False, **options)[source]

Download a bibtex file specified by a digital object identifier.

The source is a URL containing a single positional format specifier which is where the requested doi should appear.

By default, the data from the doi is parsed by bibpy. If raw is True, the raw string is returned instead.

The options kwargs correspond to the arguments normally passed to bibpy.read_string.