Ethereum address validation with python
This is a clone of the ethereum-address on js
isAddress
utility method on python
pip install ethereum-address
from etherium_address import is_address
if is_address(value):
print('Valid ethereum address.')
else:
print('Invalid Ethereum address.')
Returns true if the address (string) is an Ethereum address
Returns true if the address (string) is an Ethereum checksum address