Skip to content

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

Notifications You must be signed in to change notification settings

cnuahs/flashcards

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages