Skip to main content

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

  1. The input must be some sort of non-compressed text file (.txt, .md, etc.)
  2. Every line to be converted to an Anki card must start with a dash and space - . Everything other line will be ignored
  3. The front and back of the cards are separated by a separator, such as =

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

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

anki_deck_from_text-0.1.2.tar.gz (2.6 kB view hashes)

Uploaded Source

Built Distribution

anki_deck_from_text-0.1.2-py3-none-any.whl (4.0 kB view hashes)

Uploaded Python 3

Supported by

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