Gen 2 tradeback learnset CSV generation tool

I was recently doing some work on a Gen 1 romhack of mine (Pokémon Solus) and part of the work involved visualizing all of the potential moves that could be 'forward-patched' into Gen 1 via Gen 2 tradeback learnsets.

For those who don't know, Gen 2 tradeback learnsets are essentially moves that a Pokémon can learn in Gen 1 after being traded to Gen 2 (and then back to Gen 1) whether it's by TM, level-up, tutor, etc.

There are multiple avenues for learning these tradeback moves, and I couldn't find a comprehensive data table with all of the possible moves that some Pokémon might get access to via Gen 2 tradeback learnsets. So I made a tool that takes advantage of PokeAPI to do generate a data table myself. I wanted to make a post in case anybody might find this information useful.

The data table is here: https://github.com/Dechrissen/tools/blob/master/pokemon-learnsets/data.csv

There are five columns, each representing a distinct method through which a Pokémon learns a Gen 2 tradeback move.

If you want to use the code as a base to develop some similar data table, you can find it in this subfolder: https://github.com/Dechrissen/tools/tree/master/pokemon-learnsets