citeformer.render.formatters.apa

APA 7 citation style.

Author-date inline markers ((Smith, 2023) with single author; (Smith & Jones, 2023) with two; (Smith et al., 2023) with three+).

Bibliography shape:

  • Article: Smith, A. B., & Jones, C. D. (2023). Title. Journal Name, 12(3), 45–67. https://doi.org/…

  • Book: Smith, A. B. (2023). Book title. Publisher.

  • Chapter: Smith, A. B. (2023). Chapter title. In E. Editor (Ed.), Book title (pp. 45–67). Publisher.

  • Thesis: Smith, A. B. (2023). Title [Doctoral dissertation, University]. Repository.

Authors: Last, F. M., ampersand before the final. For 21+ authors, APA lists the first 19, then an ellipsis, then the final author. For our v0.1 scope we clamp at 20 (threshold gated for future polish).

Module Contents

Classes

APAFormatter

APA 7 — author-date, Publication Manual bibliography format.

API

class citeformer.render.formatters.apa.APAFormatter

Bases: citeformer.render.formatters._base.CitationFormatter

APA 7 — author-date, Publication Manual bibliography format.

name

‘apa-7’

citation_format

‘author-date’

inline(item: citeformer.render.formatters._base.CSLItem, number: int) str
bibliography(item: citeformer.render.formatters._base.CSLItem, number: int) str