milapy is an extensible Python 3 interface designed for Ethereum and various EVM-based chains. It offers a command-line interface, supports multiple chains, and provides synchronous and asynchronous APIs.
Install milapy using pip:
pip install milapy
Now, let's get started:
>>> from milapy import Chain
>>> mainnet = Chain(id=1)
>>> mainnet.get_block_number()
18719286
milapy were inspired by or directly modified from many sources, primarily: