ietfbib2bibtex¶
This tool aims to convert the XML-based formats of the IETF (bibxml and rfc-index) to bibtex format.
Installation¶
You can install ietfbib2bibtex using the GitHub link:
pip install git+https://github.com/netd-tud/ietfbib2bibtex/
Dependencies¶
ietfbib2bibtex works on Python 3.8 or newer.
See requirements.txt for the packages required.
Usage¶
First you need a configuration file in YAML format. See config.yaml.example for an example:
bibs:
- name: rfcs
rfc_index:
remote: https://www.rfc-editor.org/rfc-index.xml
- name: ids
bibxml_ids:
remote: rsync.ietf.org::bibxml-ids/
local: ./bibxml-ids
Then, you can run
ietfbib2bibtex -c "<config-file>"
If you do not provide a configuration file with the -c
argument, it is expected to be in the
ietfbib2bibtex
directory in the corresponding user configuration platformdirs of your
operating system.