Skip to content

cshinaver/pleco-to-anki

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Pleco to Anki Import

There's no good way to sync Pleco flashcards and Anki flashcards, so I created this script to convert a Pleco XML file to an Anki deck.

Installation

Install the requirements from requirements.txt with pip

pip install -r requirements.txt

and then run

python read_pleco_to_anki.py flash.xml ~/Desktop/

This will create an anki deck called pleco_to_anki.apkg that you can open with your Desktop Anki application.

Export from Pleco

For this to work, you must have the following checked from "Include Data":

  • Card Defnintions
  • Dictionary Definitions

Loading into anki.

This can only be done with Desktop Anki. Double clicking on the deck will load it into your desktop anki app. The deck id is constant, so if you rename it in the app, new cards will be added to the correct deck. The script also creates cards with ids hashed on their contents, so you can do reimports without breaking your studying scores.

Front of card

Screenshot 2023-07-27 at 1 50 42 PM

Back of card

Screenshot 2023-07-27 at 1 50 46 PM

About

Converts pleco flashcards to anki deck

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages