Metadata-Version: 2.4
Name: entirius-django-pim-export-to-magento-package
Version: 2.0.0
Summary: Products export from PIM to the Magento package format (CSV + media bundle)
Project-URL: Repository, https://github.com/entirius/entirius-django-pim-export-to-magento-package
Author: Entirius
License-Expression: MPL-2.0
License-File: LICENSE
Requires-Python: >=3.11
Requires-Dist: django>=5.0
Requires-Dist: entirius-django-pim>=3.0.0
Requires-Dist: entirius-django-regional>=2.0.0
Requires-Dist: entirius-py-bievents>=2.0.0
Requires-Dist: python-slugify
Requires-Dist: pytz
Provides-Extra: dev
Requires-Dist: pre-commit; extra == 'dev'
Requires-Dist: ruff; extra == 'dev'
Provides-Extra: test
Requires-Dist: psycopg[binary]; extra == 'test'
Requires-Dist: pytest; extra == 'test'
Requires-Dist: pytest-django; extra == 'test'
Description-Content-Type: text/markdown

# Django PIM Export to Magento Package

Products export from PIM to the Magento package format: CSV files plus a media bundle, ready for
Magento's importer. Companion module to
[entirius-django-pim](https://github.com/entirius/entirius-django-pim).

## Quick Start

Requires Python 3.11+.

```bash
make install                     # uv sync, incl. extras
make test                        # pytest (smoke imports, sqlite)
```

### Other commands

```bash
make check    # ruff check + format-check
make fix      # auto-fix lint + format
```

## Usage

Add `django_pim_export_to_magento_package` to `INSTALLED_APPS` (requires `django_pim`) and set
`TMP_DIR`, `EXPORT_DIR`, and `DATA_DIR` in settings. Exports run via management commands:

```bash
python manage.py export-magento-package <shop_idx>
python manage.py import-shop-to-magento-store-link <shop_idx> <file_path>
```

Price and stock enrichment via `django_pricemanager` / `django_qms` is optional — the exporter
falls back to configured defaults when those packages are absent.

## Details

See `AGENTS.md` for architecture and settings reference.
