cnuahs / flashcards

Command line tool (and Python module) for producing PDF flashcards.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

flashcards

A command line utility (and Python module) for producing flashcards suitable for printing on Moo MiniCards.

This module makes use of the ReportLab open-source PDF Toolkit to produce .pdf files.

The module provides a minimal class definition for Moo MiniCards, and a minimal wrapper around some useful PDF generation/drawing commands from the ReportLab Toolkit.


The command line utility can be used to produce simple flashcards from a comma delimited list containing (Rank,Value) pairs.

I have used the command line utility to produce spelling flashcards using wordlists from Oxford University Press.

Having generated and downloaded (as .csv) a wordlist,

$ cat oxford_wordlist.csv | ./flashcards.py ./pdfs/

produces one .pdf file (e.g., [rank]_[word].pdf) in ./pdfs/ for each card, containing a single word from the wordlist together with its rank. These .pdf files can be uploaded at Moo.com to produce high quality flashcards.

alt text

About

Command line tool (and Python module) for producing PDF flashcards.


Languages

Language:Python 100.0%