mnemocards_anki
Mnemocards package with Anki related tasks.
package
Package
Bases: PydanticTask
Create an Anki package.
Attributes:
Name | Type | Description |
---|---|---|
path |
Path
|
Path (directory + filename) of the output |
Source code in src/mnemocards_anki/package.py
pronounce
Pronounce
Bases: PydanticTask
Pronounce text in a note attribute.
Attributes:
Name | Type | Description |
---|---|---|
language |
pydantic.constr(to_lower=True)
|
Two-letter code of the language to use in the pronunciation. |
attribute_to_pronounce |
str
|
Note attribute to pronounce. |
append_media_file_to |
str
|
Append generated media file path to a list attribute. This is needed for later steps that want to access the media files. For example, to package notes in an APKG we need to know where the media files are stored in order to include them in the APKG. |
output_dir |
str
|
Output directory where generated files will be stored. This directory is relative to the configuration file. |