This script converts any iNaturalist observation of fungi into an Anki flashcard.
Additional details scraped from MycoMatch are included to enhance the study of taxonomy.
Front of card | Back of card |
---|---|
- Python 3.x
- Git installed on your computer
-
Open up Terminal (MAC) or Command Prompt (WINDOWS)
-
Clone the repo
git clone https://github.com/jaredbance/iNatFungi2Anki.git
-
Install dependancies from "requirements.txt":
Mac:
python -m venv myenv source myenv/bin/activate python -m pip install -r requirements.txt
Windows:
python -m venv myenv myenv\Scripts\activate python -m pip install -r requirements.txt
-
Open up Terminal (MAC) or Command Prompt (WINDOWS) and navigate to the folder you cloned the repo to
-
Pull latest version of the script
git pull
-
Load your virtual environment:
Mac:
source myenv/bin/activate
Windows:
myenv\Scripts\activate
-
Add iNat observation IDs to the
input.txt
file. One ID per line.- For example, the iNat ID for observation
https://www.inaturalist.org/observations/230398888
is230398888
- For example, the iNat ID for observation
-
Run the script in the terminal
python main.py
-
Outputted Anki deck is saved to "output.apkg"