Metadata-Version: 2.4
Name: entirius-django-enrichment
Version: 2.0.0
Summary: Enrichment Django module for Volkanos (content-quality bus: descriptions, attributes, SEO, media)
Project-URL: Repository, https://github.com/entirius/entirius-django-enrichment
Author: Entirius
License-Expression: MPL-2.0
License-File: LICENSE
Requires-Python: >=3.11
Requires-Dist: celery>=5.0
Requires-Dist: django>=5.0
Requires-Dist: djangorestframework-simplejwt>=5.3
Requires-Dist: djangorestframework>=3.14
Requires-Dist: drf-spectacular>=0.27
Requires-Dist: entirius-django-utils>=2.0.0
Requires-Dist: pydantic>=2.0
Provides-Extra: demo
Requires-Dist: pillow; extra == 'demo'
Provides-Extra: dev
Requires-Dist: pre-commit; extra == 'dev'
Requires-Dist: ruff; extra == 'dev'
Provides-Extra: test
Requires-Dist: factory-boy; extra == 'test'
Requires-Dist: pytest; extra == 'test'
Requires-Dist: pytest-django; extra == 'test'
Description-Content-Type: text/markdown

# django-enrichment

Horizontal content-quality bus for the Volkanos platform — an accept-before-write enrichment loop
for product content (descriptions, attributes, SEO, media). The CMS spawns typed enrichment tasks,
an external worker (n8n) generates proposals, an operator reviews them, and accepted proposals are
written back to the source module (PIM first) through a per-module adapter.

## Installation

```shell
pip install entirius-django-enrichment
```

Add the app to your project:

```python
INSTALLED_APPS = [
    ...
    "django_enrichment",
]
```

Register adapters for the source modules you use:

```python
ENRICHMENT_ADAPTERS = {"pim": "django_pim.services.enrichment_adapter"}
```

## Development

```shell
make install     # sync dependencies (uv)
make check       # lint + format check (ruff)
make test        # test suite (pytest + pytest-django)
```

Architecture, API contract and agent instructions: [AGENTS.md](AGENTS.md), [docs/](docs/).

## License

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