berhoel.ctitools.cti2bibtex package

Export cti as BiBTeX for Zotero.

class berhoel.ctitools.cti2bibtex.BiBTeXEntry(entry: Ct | Ix | CTIEntry)[source]

Bases: object

Represent BiBTeX entry.

__init__(entry: Ct | Ix | CTIEntry)[source]

Intitalize.

Parameters:

entry – Entry das from CTI file

static fix_title(inp: str) str[source]

Prepare string for BiBTeX file.

Parameters:

inp – BiBTeX entry sting to modify.

Returns:

BiBTeX entry string wich escaped upper characters

__str__() str[source]

Return string for entry.

berhoel.ctitools.cti2bibtex.build_parser() ArgumentParser[source]

Build cli parser.

Subpackages

Submodules

berhoel.ctitools.cti2bibtex.__main__ module

Main code for module.

berhoel.ctitools.cti2bibtex.__main__.main() None[source]

Run the conversion for CLI file.