DAnki: Automate deck creation for Anki to learn german
DAnki automate the work of creating decks for Anki to learn german. From the export of your Kindle's notes
or a csv file, DAnki can generate cards with the translation of the word for 8 different languages including
the german pronunciation sound.
This library and its author(s) are not affiliated/associated with the main Anki project in any way.
It was created for my german students to develop their vocabular. Using Kindle you can just highlight the german words or expressions you want to practice, export these notes to your email and use the csv file with this program. It also create tags for Anki with the page number.
Note: Your Kindle's language must be in portuguese or english .
How to use
Here is an exemple using a csv file from kindle.
language = 'en'
csv_filepath = r'csv_exemple_files/sherlock_highlights_from_kindle_english.csv'
deck_name = 'sherlock_en'
from_kindle = True
myDanki = DAnki(language, csv_filepath, deck_name, from_kindle)
myDanki.create_translated_deck()
Here is an exemple using a csv file with only 2 columns: German Word and Tag.
language = 'ch'
csv_filepath = r'csv_exemple_files/not_from_kindle.csv'
deck_name = 'not_from_kindle'
from_kindle = False
myDanki = DAnki(language, csv_filepath, deck_name, from_kindle)
myDanki.create_translated_deck()
You can find the csv exemple files HERE.
Available languages
DAnki uses leo.org to find a translation from german, so the available languages are:
('pt' - portuguese) ('en' - english) ('fr' - french) ('es' - spanich) ('it' - italian) ('ch' - chinese) ('ru' - russian) ('pl' - polish)
Must
You must add 'de_DE_frami.dic' and 'de_DE_frami.aff' files in
C:\Users\user\AppData\Local\Programs\Python\Python38\lib\site-packages\enchant\data\mingw64\share\enchant\hunspell
Dictionary link: https://extensions.openoffice.org/en/project/german-de-de-frami-dictionaries
For more information: https://pyenchant.github.io/pyenchant/tutorial.html
Credits
My thanks to:
HanTa - I don't use this library, but allowed me to understand lemmatization.
Metadata
Release files for DAnki 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| DAnki-1.0.1.tar.gz | 7.1 kB | Without provenance | Details for DAnki-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| DAnki-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for DAnki-1.0.1-py3-none-any.whl |
Total release size: 15.3 kB
Release files / DAnki-1.0.1.tar.gz
| Download URL | DAnki-1.0.1.tar.gz |
|---|---|
| Size | 7.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
86a502fbfc4e92e99b23c1d253423a3063dce2c1f42fce5e8b0ccc434574149d
|
|
BLAKE2b-256 checksum How to use checksums |
925e828ba991a720939babcaf6f618370c6dfa982659d3b3918179d6b9000e07
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.1
|
Release files / DAnki-1.0.1-py3-none-any.whl
| Download URL | DAnki-1.0.1-py3-none-any.whl |
|---|---|
| Size | 8.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1654a6382aecd779d621d6dacebb56a0cfde44a302ac97669884849c0505aa1d
|
|
BLAKE2b-256 checksum How to use checksums |
2745de3e0dfdda18bfbf0a4e8bc0b22ff547277d81e27b7946a2a042d4708a90
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.1
|
Security for DAnki 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.