Bibble
Introduction
Bibble is a library of extension middlewares for bibtexparser, to simplify processing of bibtex files.
Overview
The main areas of the library are:
Miscellaneous middlewares.
Usage
import pathlib as pl
import bibble as BM
from bibble.io import Reader, JinjaWriter
# Make a stack of middlewares for reading and writing:
stack = BM.PairStack()
# stack.add(...)
# stack.add(read=[], write=[])
# Make a reader and writer:
reader = Reader(stack)
writer = JinjaWriter(stack)
# read a bibtex file:
lib = reader.read(pl.Path("a/bib/file.bib"))
# And write it out:
writer.write(lib, file=pl.Path("an/output.bib"))
Repo and Issues
The repo for doot can be found here.
If you find a bug, bug me, unsurprisingly, on the issue tracker.