Create and revise bibtex entries from DBLP.
Project description
bibtex-dblp
Create and revise bibtex entries from DBLP.
Dependencies
- uses pybtex
- inspired from dblp-python
Installation
The package can be installed from PyPI with:
pip install bibtex-dblp
Manual installation is possible by cloning this repository and building the Python package:
python setup.py develop
Usage
All relevant scripts can be found in the bin
directory.
Every script provides information about the expected input and additional arguments via --help
.
Importing new publications from DBLP
The script bin/import_dblp.py
searches for a new publication on DBLP and adds the corresponding bibtex entry to the bibliography.
Usage:
import_dblp [--query QUERY] [--bib BIBTEX] [--format FORMAT]
If the argument --query
is not given, the search keywords can be given directly in the terminal.
The script then queries the DBLP API and displays the possible matches.
The correct publication number can be selected in the terminal (or 0
for abort).
The bibtex entry of the selected publication is either appended to the given bibliography (if --bib
is provided) or displayed on the terminal.
Converting between DBLP formats
The script bin/convert_dblp.py
converts the complete bibliography between different DBLP formats.
Usage:
convert_dblp INPUT_BIB [--out OUTPUT_BIB] [--format FORMAT]
All bibtex entries with either the field biburl
given or a bibtex name corresponding to a DBLP id are automatically converted into the desired format.
All other entries are left unchanged.
Updating existing bibliography from DBLP
The script bin/update_from_dblp.py
updates the entries in an existing bibliography by looking up the information from DBLP.
Usage:
convert_dblp INPUT_BIB [--out OUTPUT_BIB] [--format FORMAT]
For each bibtex entry without a DBLP id, the scripts searches DBLP for a possible match. The user can select the correct entry from a list of possible matches and the bibliography is updated accordingly. Bibtex entries which already have a DBLP id are left unchanged.
Supported DBLP formats
The following bibtex formats from DBLP are currently supported:
condensed
: Condensed format where e.g. journals and conferences are abbreviated. Default value.standard
: Default format from DBLP.crossref
: Extensive format in which conferences have their own bibtex entrycondensed_doi
: Corresponds tocondensed
but additionally includes the DOI
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 Distribution
File details
Details for the file bibtex-dblp-0.9.tar.gz
.
File metadata
- Download URL: bibtex-dblp-0.9.tar.gz
- Upload date:
- Size: 22.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec1dd26b010e034b5d5d14617bc29c276a202cf7a714352762ea9d3ee9efd37a |
|
MD5 | 5143c97485355ba2dd08f5c2dcbd21d1 |
|
BLAKE2b-256 | a28ebfda079aae7dd8049458e66281c352b8de5389777f35a1eb9aa3edbacf0e |