Skip to main content

Turn an epub into Anki flashcards

Project description

Epub Clozer

Turn an epub into Anki cloze flashcards

Description

This script will take every unique word in an epub and create a anki cloze flashcard using an example found in the book.

Requirements

Install python 3.11

Install epubclozer

python -m pip install epubclozer

How to use

Create a cloze for each unique word in epub:

python -m epubclozer --lang "en" --path "C:/path/to/book.epub"

Ignore stop words by adding the --exclude-stop-words option.

Note this will only work effectively in you pass the target language --lang as well.

python -m epubclozer --lang "es" --path "C:/path/to/book.epub" --exclude-stop-words

See epubclozer --help for all options

Your Anki package will be put in the same location as the epub.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

epubclozer-1.0.5.tar.gz (3.0 kB view hashes)

Uploaded Source

Built Distribution

epubclozer-1.0.5-py3-none-any.whl (2.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page