bibble.io.reader
Type Aliases
Classes
A Refactored bibtexparser reader |
Module Contents
- bibble.io.reader.Logger: TypeAlias = logmod.Logger
- class bibble.io.reader.BibbleReader(
- stack,
- *,
- lib_base=None,
- logger=None,
A Refactored bibtexparser reader
- Parameters:
- _map_keys(
- final_lib,
- source,
- entry_keys,
Map source -> keys
- Parameters:
final_lib (bibtexparser.library.Library)
source (str | pathlib.Path)
- Return type:
bibtexparser.library.Library
- _read_into(lib, source) <Unknown>[source]
- Parameters:
lib (bibtexparser.library.Library)
source (str)
- Return type:
bibtexparser.library.Library
- read(
- source,
- *,
- into=None,
- append=None,
read source and make a new library. if given ‘into’ lib, add the newly read entries into that libray as well
- Parameters:
source (str | pathlib.Path)
into (jgdv.Maybe[bibtexparser.library.Library])
append (jgdv.Maybe[list[Middleware]])
- Return type:
jgdv.Maybe[bibtexparser.library.Library]
- read_dir(
- source,
- *,
- ext,
- into=None,
- append=None,
- Parameters:
source (pathlib.Path)
ext (str)
into (jgdv.Maybe[bibtexparser.library.Library])
append (jgdv.Maybe[list[Middleware]])
- Return type:
jgdv.Maybe[bibtexparser.library.Library]
- _logger