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

From the command line:

Create a close for each unique word in epub:

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

Ignore stop words such as "the, is, at, which" in English. 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.3.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

epubclozer-1.0.3-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file epubclozer-1.0.3.tar.gz.

File metadata

  • Download URL: epubclozer-1.0.3.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.11.0 Windows/10

File hashes

Hashes for epubclozer-1.0.3.tar.gz
Algorithm Hash digest
SHA256 0a6bd2834cfd62568a3f062eb7284babf82b487531375b2cd8d6189ee84655bd
MD5 7f1b04fa6c9ee3a8b062282979fef7a3
BLAKE2b-256 95842e5cfabd852bd059cd12edc23877525cbb6ed24b29e8783c00be19c736cc

See more details on using hashes here.

File details

Details for the file epubclozer-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: epubclozer-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.11.0 Windows/10

File hashes

Hashes for epubclozer-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 dc3650f5b416d49f70f408daa684e8afa191fe0c8dd8826341a03d5105705538
MD5 491b59d9a347dbe275970448a5213b36
BLAKE2b-256 a21a4eed939e73df22bdb1fac8006446b1243cfe1e68111ff02501263e33431a

See more details on using hashes here.

Supported by

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