https://github.com/cnuahs/flashcards
Command line tool (and Python module) for producing PDF flashcards.
https://github.com/cnuahs/flashcards
command-line-tool moo-minicards python reportlab
Last synced: 8 months ago
JSON representation
Command line tool (and Python module) for producing PDF flashcards.
- Host: GitHub
- URL: https://github.com/cnuahs/flashcards
- Owner: cnuahs
- Created: 2017-07-25T13:49:39.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-08-03T13:22:50.000Z (about 8 years ago)
- Last Synced: 2025-01-03T07:48:50.239Z (9 months ago)
- Topics: command-line-tool, moo-minicards, python, reportlab
- Language: Python
- Homepage:
- Size: 564 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# flashcards
A command line utility (and Python module) for producing flashcards suitable for printing on [Moo](http://moo.com/) MiniCards.
This module makes use of the [ReportLab](http://www.reportlab.com/opensource/) 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](http://www.oxfordwordlist.com/).
Having generated and downloaded (as .csv) a wordlist,
```bash
$ 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](http://moo.com/) to produce high quality flashcards.
