Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hugo-hattori/autofill_anki_pjo
Robotic Process Automation Project.
https://github.com/hugo-hattori/autofill_anki_pjo
anki anki-deck anki-flashcards automation jupyter jupyter-notebook python selenium selenium-python selenium-webdriver time webdriver-manager
Last synced: about 1 month ago
JSON representation
Robotic Process Automation Project.
- Host: GitHub
- URL: https://github.com/hugo-hattori/autofill_anki_pjo
- Owner: Hugo-Hattori
- License: agpl-3.0
- Created: 2023-06-13T18:48:58.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-06T21:55:53.000Z (about 1 year ago)
- Last Synced: 2024-11-07T14:32:07.374Z (3 months ago)
- Topics: anki, anki-deck, anki-flashcards, automation, jupyter, jupyter-notebook, python, selenium, selenium-python, selenium-webdriver, time, webdriver-manager
- Language: Jupyter Notebook
- Homepage:
- Size: 14.1 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Autofill Anki
This is a code created for personal use with the objective of automatically
creating flashcards for Anki by using phrases and words gathered from PJO
which is a japanese online course.### Packages used:
+ Selenium
+ webdriver_manager
+ timeWhat is Anki?
Anki is a free open-source flashcard program that uses spaced repetition technique,
a much more efficient method for learning and remembering vocabulary than the traditional study means.What is PJO?
PJO or "Programa Japonês Online" is a language course for japanese learning in which
each lesson a series of new sentences and vocabulary is presented and explained in detail.One of the PJO course's guidelines is to add each new phrase and vocabulary presented
in each lesson to Anki as a flashcard, which can be quite a hassle considering each flashcard
contains a front and a back, hence the creation of Autofill Anki.obs: "import infos" refers to a .py file that contains login information for both Anki and PJO plataforms and the Deck names used on Anki.
About Flashcard and Deck creation
Before starting adding cards to the Anki account it is necessary to create a Deck, in this case there were 3 Decks created:
+ Escrita Japonesa: a deck focused on pronunciation and how to read kanjis
+ Frases em Japonês: a deck focused on understanding the meaning of sentences
+ testes: a deck created just for testing purposesAs each lesson on PJO is either a kanji and word pronunciation focused lesson or a sentences focused lesson, the code below
allows the user to specify which Deck is going to get cards added:https://github.com/Hugo-Hattori/Autofill_Anki_PJO/blob/1c91d3fae7555ccc0a87b016f6a1abfa22161cb4/autofill_Anki_PJO.py#L101-L111
Each flashcard contains a front (word or sentence to learn) and a back (translation and how to read the word/sentence),
each front and back is extracted from a Python list respectively named "lista_frentes" and "lista_tras". Both of those lists
extract data from the PJO lesson website specified as "link_licao" by the user.
The code below then adds each flashcard to the respective deck:https://github.com/Hugo-Hattori/Autofill_Anki_PJO/blob/1c91d3fae7555ccc0a87b016f6a1abfa22161cb4/autofill_Anki_PJO.py#L120-L125