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.4.tar.gz (3.0 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.4-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: epubclozer-1.0.4.tar.gz
  • Upload date:
  • Size: 3.0 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.4.tar.gz
Algorithm Hash digest
SHA256 df74096655a517198c2cf41a2798d04454c2b3911d98c0c6ffe36b079110861b
MD5 e54f9219ed7cf371daddd75005c25475
BLAKE2b-256 2bf7bc94870b649d253f455643c55677351442613fae8f9a534a8f97f3b9071e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: epubclozer-1.0.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 fc3a3ef82478a1f6db7867c0979644aff07aa67121d32c3eb434b1185524d806
MD5 95fe18fbda7c6be002fecdad44da0caa
BLAKE2b-256 ab89514a0e9c09d98ec5040b94ee83985e65bd1746a3498cc0014db8806eea29

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