dblp2bib

A random test lib


Keywords
references, bibliography, dblp
License
Other
Install
pip install dblp2bib==0.0.2

Documentation

Description

A small python program that extracts the references from a certain source (e.g. a specific conference/journal) from a DBLP xml dump to a .bib file.

This enables you to easier follow/search the proceedings of certain conferences/journals that you are interested in.

Requirements

  • Python 3
  • python pip 3

Installation

  • git clone git@github.com:stefanthaler/dblp2bib.git
  • pip3 install -r requirements.txt

Usage

python3 dblp2bib.py --sources_file=security.list --data_dir=data --out_dir=security

Parameters:

sources_file:

  • The shortcuts of the conferences/journal you are interested in.
  • The file should contain one shortcut per line
  • You will find them in the DBLP url, see http://dblp.uni-trier.de/db/conf/
  • For example: 'http://dblp.uni-trier.de/db/conf/3dpvt/' has the shortcut '3dpvt' ## data_dir:
  • The directory where the dblp.xml will be downloaded to.
  • There need to be at least 2-3 GB free on this disk
  • The dblp.dtd will also be downloaded there. It needs to be in the same folder, otherwise the XML cannot be pased ## out_dir:
  • The directory where the .bib files will be extracted to.

FAQ

  • Will this run in Python 2.7? - I have not checked, but I will not support it specifically. Python 3.0 has been released in 2008. It's time to move forward.

Todos