BiorxivWriter

class BiorxivWriter[source]

Bases: Writer

Write output for bioRxiv bulk author import.

Methods Summary

author_to_row(author)

Make a row from an author.

iter_lines(authorship)

Iterate over lines for a bioRxiv author template.

iter_rows(authorship)

Iterate over all author rows.

Methods Documentation

author_to_row(author)[source]

Make a row from an author.

Return type

tuple[str, ...]

iter_lines(authorship)[source]

Iterate over lines for a bioRxiv author template.

Return type

Iterable[str]

iter_rows(authorship)[source]

Iterate over all author rows.

Return type

Iterable[tuple[str, ...]]