How to generate bitcoin addresses on the command line or with python? Is there an easy way to generate bitcoin addresses with a commmand-line tool? I am interested in the following requirements:


Reliable, secure and standards conform, with good entropy
Generates private and public keys for the corresponding bitcoin address
Can BIP38 Encrypt
Can produce in bulk
Runs in linux
Nice to have: python library
Nice to have: can save QR codes as images (png) for private / public keys
Nice to have: fast, and non-interactive (all parameters on command line)


Basically I am looking for a replacement for https://www.bitaddress.org/, for the command line.
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.