https://github.com/repeat-space/anki-code-examples
Using Anki programmatically
https://github.com/repeat-space/anki-code-examples
Last synced: about 1 month ago
JSON representation
Using Anki programmatically
- Host: GitHub
- URL: https://github.com/repeat-space/anki-code-examples
- Owner: repeat-space
- Created: 2018-03-18T21:57:59.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-04-11T19:40:55.000Z (about 8 years ago)
- Last Synced: 2025-02-24T06:16:24.240Z (over 1 year ago)
- Language: Python
- Size: 10.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Anki Code Examples
## Usage
```sh
$ python3 src/tests/1_get_deck_names_test.py
$ python3 src/tests/2_get_cards_from_deck_test.py
```
## Install
```sh
$ pipenv install --dev
```
## Tests
```sh
$ ./scripts/test.sh
```
## Formatting
```sh
$ pipenv run autopep8 --in-place src/**/*.py
```
## Tips
### SQLite
```sh
$ sqlite3 data/profile/collection.anki2
```
## License
CC0.