A citation and bibliography generator
Bibgen is a Python script that allows styled citations and bibliography generation using external bibliographic databases. It supports databases such as BibTeX, JSON or Mendeley, and generates styled citations and bibliography sections for several document types including DocBook and reStructuredText. Textual citations and entries in the generated bibliographies are styled using rules found in CSL stylesheets. Thousands of those stylesheets are readily available, for instance through the Zotero style repository.