How to generate bitcoin addresses on the command line or with python?
Bitcoin Core's bitcoon-cli provides command-line functionality for manipulating a wallet, including creating addresses.  Running a full bitcoin-core node also means you can connect programmatically via Python to it using json-rpc to create addresses.