Ctitools

Work with cti index files for the Heise papers c’t and iX

Description

This project provides different tool for processing index files from Heise papers c’t and iX.

Saving the current base dataset, downloaded from Heise and extractng to data, the command

> cti2bibtex data/inhalt.frm result.bibtex

creates a .bib file with 82100 entries. Importing this result in Zotero took more than 28h and use more than 7GB of RAM.

cti2bibtex works with the zip files directly now, so the commands

> cti2bibtex ctin2328.zip
> cti2bibtex register-kurz.zip

create the files ctin2328.bib and register-kurz.bib.

Installation

ctitools are on pypi now, so

> pip install ctitools

installs the last version.

It can also be installed from the source repository on gitlab

> pip install git+https://gitlab.com/berhoel/python/ctitools.git

Documentation

Documentation can be found here

Authors

Project status

The projects works for converting the cti and frm file, provided by Heise, to bib files.

Usage

cli2bibtex - CLI interface

Read a cti file and generate a BiBTeX file.

cli2bibtex [-h] [--limit-year LIMIT_YEAR] [--limit-issue LIMIT_ISSUE]
           [--limit-journal LIMIT_JOURNAL] [--version]
           cti [bibtex]

cli2bibtex positional arguments

  • cti - input file, cti, frm, or zip file containing one of the previous (required)

  • bibtex - output file (name will be derived from input file, if not given)

cli2bibtex options

  • -h, --help - show this help message and exit

  • --limit-year LIMIT_YEAR - limit output to given year (default: all years in input file)

  • --limit-issue LIMIT_ISSUE - limit output to given issue (default: all issues in input file)

  • --limit-journal LIMIT_JOURNAL - limit output to given magazine ('i' for iX, or 'c' for c’t) (default: both magazines)

  • --version - show program’s version number and exit

cti_statistics - CLI interface

List number of articles for each issue found in input file.

cti_statistics [-h] [--version] cti

cti_statistics positional arguments

  • cti - input file, cti, frm, or zip file containing one of the previous (required)

cti_statistics options

  • -h, --help - show this help message and exit

  • --version - show program’s version number and exit

API documentation

ctitools

Work with cti index files for the Heise papers c't and iX.

ctitools.ix

Manage entries for iX.

ctitools.ct

Manage entries for c't.

ctitools.ctientry

Base class for cti (c't iX) entries.

ctitools.cti2bibtex

Export cti as BiBTeX for Zotero.

Contents:

Indices and tables