Generate an Anki deck from annotations on a text file
Project description
Purpose
The purpose of this tool is to generate an Anki deck from annotations on a text file. This was specially developed for those who use Anki to learn language vocabulary.
Input structure
- The input must be some sort of non-compressed text file (.txt, .md, etc.)
- Every line to be converted to an Anki card must start with a dash and space
-
. Everything other line will be ignored - The front and back of the cards are separated by a separator, such as
=
. Use theseparator
option to set a custom separator.
Example:
- die Katze = the cat
- das Haus = the house
Outside of these rules, you are free to populate your text file with other annotations which will be ignored when creating the deck.
Installation
pip install anki_deck_from_text
How to run
anki_deck_from_text file.md out amazing_deck_name
For all options run:
anki_deck_from_text --help
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for anki_deck_from_text-1.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e49ad23576cda319872ba1f234413ca002b13f1473848229b98b80b9862686f |
|
MD5 | fe0e6b187a919cb7158eb6f46799dcca |
|
BLAKE2b-256 | 4351a209a0ea9d7cf2d6fea82abd8bdce02802357e50c797247a080c029692b1 |
Close
Hashes for anki_deck_from_text-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f25183f0f00e40c94ac35983e9e145475252910922ce1e9a1d24b84a380c6c30 |
|
MD5 | 9f0e94f0b57d4be52718580db765acc8 |
|
BLAKE2b-256 | b46bde58dacb031f31929ed847147fd4500fb081470059855e30c66a3dfec564 |