Skip to main content

Business Rule Driven Design (BRDD) core components for Python.

Project description

🐍 BRDD Python

PyPI

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

pip install brdd-python

🛠 Usage

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 for more details.

📚 Documentation

📄 License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

brdd_python-0.2.0.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

brdd_python-0.2.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file brdd_python-0.2.0.tar.gz.

File metadata

  • Download URL: brdd_python-0.2.0.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for brdd_python-0.2.0.tar.gz
Algorithm Hash digest
SHA256 b7e9e9eb27715f3805bc8d30cda4848d0e9503b7640b86222b7fc67d7365c146
MD5 0d92275fb8fee5c4c43b29d88fd3eaa7
BLAKE2b-256 66ebdfce1a07c43092011acaf568accd851c2fdc9f4a9cb86246974db597c54c

See more details on using hashes here.

File details

Details for the file brdd_python-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: brdd_python-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for brdd_python-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6e42e699f004d99cd8c75041d3ae51119d3237542e4322c0df467af723fd4d9c
MD5 adc7ee652134cb40ebd4c3d8f511eee5
BLAKE2b-256 9c85215737663b4844aa6a20c3351aee7b5a908af7462d833ed0104e20f61e25

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page