A CLI to load flashcards in Anki2
Project description
Anki CLI
This project is not part of the official Anki project.
Installation
$ pip3 install anki-cli-unofficial
$ anki-cli-unofficial -h
# To load a local file cards.yaml into the default deck
$ anki-cli-unofficial --deck Default cards.yaml
Test locally
$ pip3 install anki-cli-unofficial
$ python3 anki-cli-unofficial/ load --deck Default --media-dir examples examples/french.yaml
$ cd anki-cli/
$ python3 setup.py install # The binary anki-cli-unofficial is present in $PATH
$ cd
$ anki-cli-unofficial load --media-dir $PWD/Workshop/anki-cli/examples $PWD/Workshop/anki-cli/examples/french.yaml
Uploading to Pypi
- Create an API Token from the Web UI. (Edit your
~/.pypirc
with the generated token.) - Install Twine
$ python3 -m pip install --user --upgrade twine
- Upload the bundle
$ python3 -m twine upload dist/*
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
Built Distribution
Close
Hashes for anki-cli-unofficial-0.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41adbb781a8000234255c180868acbad4e31868a8400f7835997e4b356602fda |
|
MD5 | f341d5075c01ae08c9a0747ecc0dbc06 |
|
BLAKE2b-256 | 9b7845827ef6548c5bad05baa8ef5f6d8520cffe76f9b9f1bbd34e2442b47a8d |
Close
Hashes for anki_cli_unofficial-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2b5f8fb8b4345594d24ae667ca87eea79b3319a89b255715f5ac288d3991f1f |
|
MD5 | 6e48585b6c4ce5064dd47b13497e641a |
|
BLAKE2b-256 | 521f0c5d45e97d7a93f20f1e55a5a35e363ff083b37d2dce17df2c82099a3fc6 |