A small python project to convert a json file from map-making.app to an anki deck. On the front sides of the cards will be the names of the tags you have set and on the backside a render of where the locations are that have that tag set.
An example from finbarr's russia long antenna json:

- You must have a recent version of python installed
The first thing you need to do is get the source code onto your computer. You can either download the code as a zip file using the green "<> Code" butting in the top right of GitHub or git clone the repository.
To prepare the execution of the converter tool, create and activate a python virtual environment. (You can also install the required packages globally in your system, but it is usually more comfortable using virtual environments)
- Create a python virtual environment (This step is not necessary if the environment already exists):
python3 -m venv .venv- Activate the virtual environment:
If this step fails with an error message similar to "[...]Activate.ps1 cannot be loaded because running scripts is disabled on this system [...]", try setting the execution policy for the user using this command: Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
.\.venv\bin\activate- Install all required packages inside the virtual environment (This step is not necessary if you have already done this in your virtual environment):
pip install -r requirements.txt- Create a python virtual environment (This step is not necessary if the environment already exists):
python3 -m venv .venv- Activate the virtual environment:
source .venv/bin/activate- Install all required packages inside the virtual environment (This step is not necessary if you have already done this in your virtual environment):
pip install -r requirements.txtTo execute, the tool, run the following command after setting up your virtual environment:
python3 json2anki.pyBy default the tool will expect there to be a locs.json file it will read and will output a deck.apkg file. You can change this behaviour using command line arguments.
To get a short description for every command line argument, use the one of the following commands:
python3 json2anki.py -hor
python3 json2anki.py --help