bibble.fields.field_accumulator

Type Aliases

Entry

Classes

FieldAccumulator

Create a set of all the values of a field, of all entries, in a library.

Module Contents

bibble.fields.field_accumulator.Entry: TypeAlias = model.Entry
class bibble.fields.field_accumulator.FieldAccumulator(*, name, fields, **kwargs)[source]

Bases: bibble.util.middlecore.IdenBlockMiddleware

Create a set of all the values of a field, of all entries, in a library.

‘name’ : the name of the accumulation block to store result in ‘fields’ : the fields to accumulate values of.

Fields can be individual values, or lists/sets of values

Parameters:
field_h(field, entry) <Unknown>[source]
Return type:

Result(list[Field], Exception)

transform(library) <Unknown>[source]
Parameters:

library (bibtexparser.library.Library)

Return type:

bibtexparser.library.Library

transform_Entry(entry, library) <Unknown>[source]
Return type:

list[Block]

_attr_target
_collection