Metadata-Version: 2.4
Name: brdd-python
Version: 0.1.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
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

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

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

## 🚀 Quick Start (Initialization)

1. **Create the Project Structure:**
   ```bash
   mkdir brdd-python-lib && cd brdd-python-lib
   python -m venv venv
   source venv/bin/activate
   pip install pydantic  # Recommended for ExecutionContext
   ```

2. **Define the Base Interfaces:**
   Create a `brdd/core.py` with `ExecutionContext` and `ValidationContext`.

3. **Implement your first UseCase:**
   Follow the [Practical Example](../../articles/PTBR/BRDD-PRACTICAL-EXAMPLE.md).

## 🚀 Publication & Metadata

To publish this library to **PyPI**, ensure the following fields are set in `pyproject.toml`:
- **Author:** Defol Tech
- **Contact:** defoltech@gmail.com
- **License:** MIT
- **Repository:** https://github.com/brdd-design/brdd-python

**Step-by-step to Publish:**
1. Update version in `pyproject.toml`.
2. Build the package: `python -m build`.
3. Upload: `twine upload dist/*`.

## 📚 Documentation
- [AI Guidelines](./AI_GUIDELINES.md)
- [Technical Spec](../../articles/PTBR/BRDD-STORY.md)
- [Publishing Checklist](../../../PUBLISHING_CHECKLIST.md)
