Provides a Python API to parse BibTeX files.
Not to be confused with the (actual) pybibtex
, which uses REGEX, while this implementation use an actual LL(1) parser (less error-prone, normally).
The BiBTeX syntax is introduced, simply, there.
More details are found in btxdoc
(and some of its quirks are examplified here).
This implementation handles the different syntax for the items (braces or parentheses), the comments, and the concatenation (with the @string
definitions).
It does not handle @preamble
.
pip3 install --upgrade git+https://github.com/pierre-24/pybibtex.git@v0.2.1
No dependencies are required (except python >= 3.6).
See the documentation there demonstrating the (quite simple) API.
Contributions, either with issues or pull requests are welcomed. See the Contributing section of the documentation for more details.