Yes, I can do it in Python. Bash no because it is too slow.
I may be the only fan of using python as something to run simple commands and using it as a docker for running other programs in different languages.
You might want to discover using os to run things in bash from a python script.
import os
os.system("echo 'hello'")
For example will run "echo 'hello'" in bash if you're using a bash shell on your system.
You can then use that same module to access the command line for running different programs.
Bash scripts are slow to be interpreted afaik, but the actual commands you run in bash are fast enough (using the os.system command and using python to handle the interactions is much faster).
Your idea for script is good.
Script should do the work.
I have csv files: transactions, balances.
Only have to connect transactions and balances with public addresses/private keys.
Will think about it.
You can just read columns and rows in CSVs though and import them all into a data structure (probably a dictionary for what you're after).