https://github.com/shangtongzhang/rebib
Retrieve information from DBLP and update BibTex files automatically
https://github.com/shangtongzhang/rebib
Last synced: 6 months ago
JSON representation
Retrieve information from DBLP and update BibTex files automatically
- Host: GitHub
- URL: https://github.com/shangtongzhang/rebib
- Owner: ShangtongZhang
- License: mit
- Created: 2021-03-05T03:39:18.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-06-04T05:43:34.000Z (over 3 years ago)
- Last Synced: 2025-04-03T22:23:50.652Z (6 months ago)
- Language: Python
- Size: 9.77 KB
- Stars: 55
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Rebib
TLDR: This script retrieves information from DBLP to update your BibTex files.```python rebib.py --bibfile xxx.bib```
1. It first parses the bib entries in `xxx.bib`.
1. For each entry, it queries DBLP using the title and the first author to retrieve the accurate bibliographical
information.
1. If there is only one match, that's it!
1. If there is no match, skip it.
1. If there are two matches, one is arXiv and the other is non-arXiv, it chooses the non-arXiv one.
1. Otherwise, it lists two most relevant results and ask you to choose one with your keyboard.
You can pass `--interactive=False` to just skip this.
1. The updated entries are stored in `xxx_updated.bib` and the skipped ones are stored in `xxx_untouched.bib`.Use it like a pro:
* Change `desired` to decide what fields you want to keep in the updated entries.
* Change `query` to decide what you want to send to DBLP.
* Change `num_workers` to decide parallelization (don't be too greedy, you will be banned by DBLP!).