Bloxplorer is a simple and effective Bitcoin blockchain explorer.
It allows developers to make use of the full power of the Blockstream Esplora HTTP API through a clean Python interface.
Using the Bloxplorer package is easy and straightforward, as it should be.
from bloxplorer import bitcoin_explorer
response = bitcoin_explorer.blocks.get_last_height()
print(response.data)
'869056'
Full documentation is available here.
To install the Bloxplorer package simply run this command in your favorite terminal:
>>> pip install bloxplorer