Business Rule Driven Design (BRDD) core components for Python.
Project description
🐍 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)
-
Create the Project Structure:
mkdir brdd-python-lib && cd brdd-python-lib python -m venv venv source venv/bin/activate pip install pydantic # Recommended for ExecutionContext
-
Define the Base Interfaces: Create a
brdd/core.pywithExecutionContextandValidationContext. -
Implement your first UseCase: Follow the Practical Example.
🚀 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:
- Update version in
pyproject.toml. - Build the package:
python -m build. - Upload:
twine upload dist/*.
📚 Documentation
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file brdd_python-0.1.0.tar.gz.
File metadata
- Download URL: brdd_python-0.1.0.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3ccd9e6df63f94208e69ad3b06c97867b2ac31d2e89ffa1d9250cc9847e1cfa7
|
|
| MD5 |
e3eaf70752da2bbc07b2ca0c477cfba1
|
|
| BLAKE2b-256 |
ce336f5a9c14e91008a2fb951ace360c05bc65ea3d439d2c6698aa5a5e58e480
|
File details
Details for the file brdd_python-0.1.0-py3-none-any.whl.
File metadata
- Download URL: brdd_python-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
944cc1a4e7c7289dba0b6622b66b3e8b58414b1e33031c424322bece7a1ba010
|
|
| MD5 |
5f88beed3d46c837d7fd7e4cc5c2bf62
|
|
| BLAKE2b-256 |
1c2035b3e803a767edab75cf1de025c021383a1b0600e9bc1d9b66d2850c1e27
|