Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/patarapolw/anki-export
Export your Anki *.apkg to Python. Read Anki *.apkg in Python.
https://github.com/patarapolw/anki-export
anki
Last synced: 3 months ago
JSON representation
Export your Anki *.apkg to Python. Read Anki *.apkg in Python.
- Host: GitHub
- URL: https://github.com/patarapolw/anki-export
- Owner: patarapolw
- License: mit
- Created: 2018-08-28T13:57:05.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-02-06T19:35:54.000Z (almost 3 years ago)
- Last Synced: 2024-10-01T09:42:47.394Z (3 months ago)
- Topics: anki
- Language: Python
- Size: 8.91 MB
- Stars: 15
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# anki-export
![Github Actions](https://github.com/patarapolw/anki-export/actions/workflows/test.yml/badge.svg)
[![PyPI version shields.io](https://img.shields.io/pypi/v/anki-export.svg)](https://pypi.python.org/pypi/anki-export/)
[![PyPI license](https://img.shields.io/pypi/l/anki-export.svg)](https://pypi.python.org/pypi/anki-export/)
[![PyPI pyversions](https://img.shields.io/pypi/pyversions/anki-export.svg)](https://pypi.python.org/pypi/anki-export/)Export your Anki \*.apkg to Python. Read Anki \*.apkg in Python.
## Example
```python
from anki_export import ApkgReader
import pyexcel_xlsxwxwith 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`](/__extras__/blank-install).
## Installation
```commandline
$ 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](https://github.com/patarapolw/srs-sqlite) - A simple SRS app using Markdown/HandsOnTable/SQLite
- [jupyter-flashcards](https://github.com/patarapolw/jupyter-flashcards) - Excel-powered. Editable in Excel. SRS-enabled.
- [gflashcards](https://github.com/patarapolw/gflashcards) - A simple app to make formatted flashcards from Google Sheets. SRS-not-yet-enabled.
- [HanziLevelUp](https://github.com/patarapolw/HanziLevelUp) - A Hanzi learning suite, with levels based on Hanzi Level Project, aka. another attempt to clone WaniKani.com for Chinese. SRS-enabled.