Convert BibTex file to database entries using Python

后端 未结 5 1576
星月不相逢
星月不相逢 2021-02-02 15:41

Given a bibTex file, I need to add the respective fields(author, title, journal etc.) to a table in a MySQL database (with a custom schema).

After doing some initial re

5条回答
  •  伪装坚强ぢ
    2021-02-02 15:49

    You could use the Perl package Bib2ML (aka. Bib2HTML). It contains a bib2sql tool that generates a SQL database from a BibTeX database, with the following schema:

    An alternative tool: bibsql and bibtosql.

    Then you can feed it to your schema by writing some SQL conversion queries.

提交回复
热议问题