Anki Card Knowledge Syncer
The Problem
I like to ask lots of questions, but I can't always immediately find out the answers to those questions. So I store them in a google doc. When I do figure out the answers, I add them. Now, I would like to take that question/answer pair and create an Anki flashcard, so that I can store it in my long-term memory. However, copy-pasting these questions and answers into anki is a time-consuming process, and one which can be fully automated.
The solution
This project takes a formatted set of questions and answers stored as a cloud document, creates flashcards from those question/answer pairs, adds them to an Anki deck, and syncs that local deck with AnkiWeb.
Example usage with locally-downloaded HTML files
python -m card_parser input_file.html
Example usage with locally-downloaded text files
python -m card_parser input_file.txt
Example usage with files stored on google drive
Prerequisites
#. Sign up for a google cloud account
#. Create a new project and service account for that project
#. Share the document with the service account's e-mail
#. Download the service account's .json credentials and place in service_account.json file in card_parser directory
#. Setup config.ini to point to the appropriate google doc ID
Then, just run the following command:
python -m card_parser
Your document should have been uploaded in-place.
Disclaimer
NOTE: This package is currently under development, and has not yet been published to pip. The only current way to install it is through cloning this repository.
Metadata
Release files for ankilol 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ankilol-0.1.0.tar.gz | 20.0 kB | Without provenance | Details for ankilol-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ankilol-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for ankilol-0.1.0-py3-none-any.whl |
Total release size: 43.2 kB
Release files / ankilol-0.1.0.tar.gz
| Download URL | ankilol-0.1.0.tar.gz |
|---|---|
| Size | 20.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2879625688c9d8e624512ba91d679252034bac0d4e47487ec8f551cea6512115
|
|
BLAKE2b-256 checksum How to use checksums |
71f05240af1fc01c6ff24625c19bfa77837f48c51142c2e935eb598f84e56630
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.10.7 Darwin/22.4.0
|
Release files / ankilol-0.1.0-py3-none-any.whl
| Download URL | ankilol-0.1.0-py3-none-any.whl |
|---|---|
| Size | 23.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
387d791930008d596350118972a880805dfebb4d68cb59e7b67d91ee95319481
|
|
BLAKE2b-256 checksum How to use checksums |
fc70799a390dcd95c0d5ab8048828d3dabfd6c8e67e2f866d5a7c66a3ba7d4bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.10.7 Darwin/22.4.0
|
Security for ankilol 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.