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 details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: epubclozer-1.0.5.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.5.tar.gz
Algorithm Hash digest
SHA256 df05d140ec83728dda673a0e0be0583673bedf05e8ea080d4defaa09f205fa66
MD5 e79c5f512c728b98ecfc4c687ec5b06b
BLAKE2b-256 916dec45dddbe355268891b8a4a87f22accf09e06b3d4332c9cce2d8862c5c19

See more details on using hashes here.

File details

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

File metadata

  • Download URL: epubclozer-1.0.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 f1e5edbf7959214876dd72728bb784def02ecf6ccdba45b6c07e9263c05165dc
MD5 175136702c2705011da3efb2f4723891
BLAKE2b-256 add36c1f5c7f2ade6cb33e8ef8f9ec26b3d68f2b19d17c06bd07f0b305bf9b99

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