pip install anki-export==0.1.1

Export your Anki *.apkg to Python. Read Anki *.apkg in Python.

Source
Among top 50% packages on PyPI.
Over 661 downloads in the last 90 days.

Version usage of anki-export

Proportion of downloaded versions in the last 3 months (only versions over 1%).

0.1.1

57.79%

0.1.0

42.21%