pull down to refresh

Can someone recommend a Python library / command line tool to use with 12/24 words?
I want to try out onchain stuff programmatically.