Metadata-Version: 2.4
Name: entirius-py-magento2-sdk2
Version: 2.0.0
Summary: Magento 2 REST API SDK — products, customers, attributes, search and stores
Project-URL: Repository, https://github.com/entirius/entirius-py-magento2-sdk2
Author: Entirius
License-Expression: MPL-2.0
License-File: LICENSE
Requires-Python: >=3.11
Requires-Dist: marshmallow-dataclass>=8.5
Requires-Dist: marshmallow>=3.19
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: faker>=8.12.1; extra == 'test'
Requires-Dist: pytest; extra == 'test'
Description-Content-Type: text/markdown

# magento2-sdk2

Magento 2 REST API SDK — products, customers, attributes, search and stores over the Magento 2 REST API.

## Installation

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

## Usage

```python
from magento2_sdk2.services.client import Magento2Client
from magento2_sdk2.services.worker import search
from magento2_sdk2.dto.search import SearchParameters

client = Magento2Client(base_url="https://your-magento/rest/", access_token="...")
results = search(client, SearchParameters(search_text="shoes"))
```

## Development

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

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

## License

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