Export your Anki *.apkg to Python. Read Anki *.apkg in Python.
Project description
anki-export
Export your Anki *.apkg to Python. Read Anki *.apkg in Python.
Example
from anki_export import ApkgReader
import pyexcel_xlsxwx
with ApkgReader('test.apkg') as apkg:
pyexcel_xlsxwx.save_data('test.xlsx', apkg.export(), config={'format': None})
See real running example at /__extras__/blank-install/to-xlsx.py
.
Installation
$ pip install anki-export
Why?
- *.apkg is quite well structured, convincing me to use this format more.
- Allow you to use *.apkg programmatically in Python.
- Might be less buggy than https://github.com/patarapolw/AnkiTools
My other projects to create SRS flashcards outside Anki
- srs-sqlite - A simple SRS app using Markdown/HandsOnTable/SQLite
- jupyter-flashcards - Excel-powered. Editable in Excel. SRS-enabled.
- gflashcards - A simple app to make formatted flashcards from Google Sheets. SRS-not-yet-enabled.
- HanziLevelUp - A Hanzi learning suite, with levels based on Hanzi Level Project, aka. another attempt to clone WaniKani.com for Chinese. SRS-enabled.
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-export-0.1.4.tar.gz
(4.4 kB
view details)
Built Distribution
File details
Details for the file anki-export-0.1.4.tar.gz
.
File metadata
- Download URL: anki-export-0.1.4.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.12 CPython/3.10.2 Linux/5.16.5-arch1-1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82c3f30e73c45ec1ff6d9de91756406960435c5da04deef0ffb6417b5f686259 |
|
MD5 | d9d11e04c0474b06014315ec2eaed921 |
|
BLAKE2b-256 | 85998e206a6c2911a9b945ad4adcd93cde9486e3eb4042fdb08eed054a18b8b7 |
File details
Details for the file anki_export-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: anki_export-0.1.4-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.12 CPython/3.10.2 Linux/5.16.5-arch1-1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6b8add040a0d78dd37f862139de8a00cd24d98102d775b36c2b22e15a2c9605 |
|
MD5 | 6033c358586cc95c4d26e3f03fff6927 |
|
BLAKE2b-256 | 0928d2a28f48213d43d715e1ae75d7785c1309a4b2cf4d7116b2b83d0969a164 |