from algosdk import account, mnemonic

# Standalone accounts are cheap and not stored on disk

def generate_algorand_keypair():
    private_key, address = account.generate_account()
    print("My address: {}".format(address))
    print("My passphrase: {}".format(mnemonic.from_private_key(private_key)))