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:
pip install .
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:
update_from_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.
Modifying bibliography
The script bin/modify_bibtex.py allows apply some modifications on the bibtex file:
--no-escaperemoves the escape characters in front of underscores for fieldsurlanddoi. So\_becomes_. Note that this requires the packages such ashyperrefin LaTeX to properly compile.--no-timestamp,--no-biburland--no-bibsourcecan be added to remove the corresponding fieldstimestamp,biburlandbibsource, respectively, from the bibtex file.
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 tocondensedbut additionally includes the DOI
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bibtex_dblp-1.0.1.tar.gz.
File metadata
- Download URL: bibtex_dblp-1.0.1.tar.gz
- Upload date:
- Size: 28.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
314bf717693b4ccf1513a63b29dda50d849bae535c0f1ce838924d2612598a11
|
|
| MD5 |
95d890a07b7223eab7b9568517ae5285
|
|
| BLAKE2b-256 |
7110711ef8124be489783939c0c1ab732438d6313b2a6e3aacbb86481d3025c7
|
Provenance
The following attestation bundles were made for bibtex_dblp-1.0.1.tar.gz:
Publisher:
release.yml on volkm/bibtex-dblp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
bibtex_dblp-1.0.1.tar.gz -
Subject digest:
314bf717693b4ccf1513a63b29dda50d849bae535c0f1ce838924d2612598a11 - Sigstore transparency entry: 855450055
- Sigstore integration time:
-
Permalink:
volkm/bibtex-dblp@b81cb6620e71a0a1afd82cec6db2cab258d160bb -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/volkm
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@b81cb6620e71a0a1afd82cec6db2cab258d160bb -
Trigger Event:
release
-
Statement type:
File details
Details for the file bibtex_dblp-1.0.1-py3-none-any.whl.
File metadata
- Download URL: bibtex_dblp-1.0.1-py3-none-any.whl
- Upload date:
- Size: 26.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f0d374464d30296f63864a4c14b469531fb00f4288d9089bb2ce7922c2cf27cf
|
|
| MD5 |
6d6120581b942279e5f9b96cb70b88fd
|
|
| BLAKE2b-256 |
cf2a64ce19db4d00e405da8f28f860701618d56d5d1b0fa7a838222dd3ea0c38
|
Provenance
The following attestation bundles were made for bibtex_dblp-1.0.1-py3-none-any.whl:
Publisher:
release.yml on volkm/bibtex-dblp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
bibtex_dblp-1.0.1-py3-none-any.whl -
Subject digest:
f0d374464d30296f63864a4c14b469531fb00f4288d9089bb2ce7922c2cf27cf - Sigstore transparency entry: 855450092
- Sigstore integration time:
-
Permalink:
volkm/bibtex-dblp@b81cb6620e71a0a1afd82cec6db2cab258d160bb -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/volkm
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@b81cb6620e71a0a1afd82cec6db2cab258d160bb -
Trigger Event:
release
-
Statement type: