Metadata-Version: 2.4
Name: entirius-py-magento2-sdk
Version: 2.0.0
Summary: Magento 2 REST API SDK
Project-URL: Repository, https://github.com/entirius/entirius-py-magento2-sdk
Author: Entirius
License-Expression: MPL-2.0
License-File: LICENSE
Requires-Python: >=3.11
Requires-Dist: requests>=2.28.1
Provides-Extra: dev
Requires-Dist: pre-commit; extra == 'dev'
Requires-Dist: ruff; extra == 'dev'
Provides-Extra: test
Requires-Dist: pytest; extra == 'test'
Description-Content-Type: text/markdown

# magento2-sdk

Magento 2 REST API SDK — orders, invoices, and related resources over the Magento 2 REST API.

## Installation

```shell
pip install entirius-py-magento2-sdk
```

## Usage

```python
from magento2_sdk.client import Client
from magento2_sdk.services import OrderService

client = Client(base_url="https://your-magento/rest/", access_token="...")
orders = OrderService(client=client)
```

## Development

```shell
make install     # sync dependencies (uv)
make check       # lint + format check (ruff)
make test        # test suite (pytest) — integration test skipped without MAGENTO_URL / MAGENTO_TOKEN
```

Development and agent instructions: [AGENTS.md](AGENTS.md).

## License

Mozilla Public License 2.0 — see [LICENSE](LICENSE).
