Metadata-Version: 2.4
Name: brdd-python
Version: 0.2.0
Summary: Business Rule Driven Design (BRDD) core components for Python.
Project-URL: Homepage, https://brdd.design
Project-URL: Repository, https://github.com/brdd-design/brdd-python
Author-email: Defol Tech <defoltech@gmail.com>
License: MIT
License-File: LICENSE
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.8
Requires-Dist: pydantic>=2.0.0
Provides-Extra: dev
Requires-Dist: pytest>=7.0.0; extra == 'dev'
Description-Content-Type: text/markdown

# 🐍 BRDD Python

[![PyPI](https://img.shields.io/pypi/v/brdd-python?label=pypi)](https://pypi.org/project/brdd-python/)

A minimalist implementation of the Business Rule Driven Design (BRDD) pattern for the Python ecosystem.

## 🎯 Goal
Provide core interfaces and base classes to implement BRDD with zero friction and maximum type safety.

## 🚀 Installation

```bash
pip install brdd-python
```

## 🛠 Usage

```python
from brdd.core import ExecutionContext, DefaultExecutionContext, ValidationContext

# In your UseCase
def execute(self, request_data) -> ExecutionContext:
    context = DefaultExecutionContext(request_data)
    # ... your logic
    context.add_effect("CE001")
    return context
```

## 🤖 AI-First Development
This library is designed for AI-driven development. Check the [AI Guidelines](./AI_GUIDELINES.md) for more details.

## 📚 Documentation
- [Technical Spec](https://github.com/brdd-design/brdd/blob/main/BRDD.md)
- [Practical Example](https://github.com/brdd-design/brdd/blob/main/core/articles/EN/BRDD-PRACTICAL-EXAMPLE.md)

## 📄 License
MIT
