pymagento is a Python library around the Magento 2 API.
pymagento
With pip:
pip
pip install pymagento
With poetry:
poetry
poetry add pymagento