Metadata-Version: 2.1
Name: pymagento
Version: 1.7.4
Summary: Python client for the Magento 2 API
Home-page: https://github.com/Bixoto/PyMagento
License: MIT
Author: Bixoto
Author-email: tech@bixoto.com
Requires-Python: >=3.8,<4.0
Classifier: Development Status :: 5 - Production/Stable
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Provides-Extra: docs
Requires-Dist: Sphinx (>=4.4.0,<5.0.0) ; extra == "docs"
Requires-Dist: api-session (>=1.3.2,<2.0.0)
Requires-Dist: sphinx-rtd-theme (>=1.0.0,<2.0.0) ; extra == "docs"
Description-Content-Type: text/markdown

# PyMagento

**PyMagento** is a Python client for the Magento 2 API. Its goal is to provide an easy-to-use
Pythonic interface to the Magento 2 API, while being lightweight and extendable.

* [Read the docs](https://pymagento2.readthedocs.io/)


Note: PyMagento is not affiliated to nor endorsed by Adobe or the Magento team.

## Install

We support only Python 3.8+.

### Pip

    python -m pip install pymagento

### Poetry

    poetry add pymagento

## Usage

```python
import magento

client = magento.Magento(base_url="...", token="...", scope="all")

product = client.get_product("SKU123")
print(magento.get_custom_attribute(product, "description"))

for order in client.get_orders(status="processing"):
    print(order["increment_id"], order["grand_total"])
```

For more information, [read the docs](https://pymagento2.readthedocs.io/).

## License

Copyright 2020-2023 [Bixoto](https://bixoto.com/).

